Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007853/0.0007853, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004027/0.004027, allocations: 157.8 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8217/0.8217, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2348/0.2348, allocations: 29.41 MB / 290.8 MB, free: 2.426 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.332e-05, allocations: 2.281 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.004546/0.00457, allocations: 5.027 MB / 436.5 MB, free: 8.039 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.006853, allocations: 2.005 MB / 438.5 MB, free: 6.027 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.007115, allocations: 23.81 kB / 438.5 MB, free: 6.004 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.00755, allocations: 142.8 kB / 438.7 MB, free: 5.863 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000793/0.008343, allocations: 421.3 kB / 439.1 MB, free: 5.449 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.00874, allocations: 211.4 kB / 439.3 MB, free: 5.242 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007273/0.009467, allocations: 0.7354 MB / 440 MB, free: 4.504 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003484/0.009816, allocations: 331.9 kB / 440.3 MB, free: 4.172 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.01028, allocations: 434.8 kB / 440.8 MB, free: 3.746 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.01058, allocations: 247.2 kB / 441 MB, free: 3.504 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.768e-05/0.01063, allocations: 48 kB / 441.1 MB, free: 3.457 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.01083, allocations: 135.9 kB / 441.2 MB, free: 3.324 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.01093, allocations: 155.5 kB / 441.3 MB, free: 3.172 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.01106, allocations: 191.5 kB / 441.5 MB, free: 2.984 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006386/0.0117, allocations: 0.7048 MB / 442.2 MB, free: 2.277 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.01171, allocations: 4 kB / 442.2 MB, free: 2.273 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01171, allocations: 0 / 442.2 MB, free: 2.273 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.01171, allocations: 0 / 442.2 MB, free: 2.273 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001065/0.01278, allocations: 0.7941 MB / 443 MB, free: 1.445 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.01281, allocations: 15.98 kB / 443 MB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.169e-05/0.01289, allocations: 60.56 kB / 443.1 MB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.01341, allocations: 423.2 kB / 443.5 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.01343, allocations: 33.12 kB / 443.5 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.01348, allocations: 36 kB / 443.6 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004529/0.01394, allocations: 486.8 kB / 444.1 MB, free: 348 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.01395, allocations: 0 / 444.1 MB, free: 348 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.01398, allocations: 16 kB / 444.1 MB, free: 332 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.01399, allocations: 16 kB / 444.1 MB, free: 316 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.0144, allocations: 274.3 kB / 444.4 MB, free: 40 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1579/0.1723, allocations: 1.63 MB / 446 MB, free: 53.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.1726, allocations: 241.2 kB / 446.2 MB, free: 53.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.586e-05/0.1727, allocations: 84.31 kB / 446.3 MB, free: 53.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.1728, allocations: 9.391 kB / 446.3 MB, free: 53.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.1729, allocations: 176.3 kB / 446.5 MB, free: 53.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 2.354e-06/0.1729, allocations: 3.219 kB / 446.5 MB, free: 53.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.001117/0.1741, allocations: 0.859 MB / 447.3 MB, free: 52.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.1741, allocations: 132.3 kB / 447.5 MB, free: 52.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.1744, allocations: 395.8 kB / 447.9 MB, free: 52.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1744, allocations: 29.7 kB / 447.9 MB, free: 52.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.119e-05/0.1745, allocations: 281.3 kB / 448.2 MB, free: 52.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.1745, allocations: 91.75 kB / 448.3 MB, free: 52.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.591e-05/0.1746, allocations: 75.89 kB / 448.3 MB, free: 52.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.537e-05/0.1746, allocations: 350.2 kB / 448.7 MB, free: 51.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.196e-05/0.1747, allocations: 79.11 kB / 448.8 MB, free: 51.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1749, allocations: 242.3 kB / 449 MB, free: 51.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.1751, allocations: 306.8 kB / 449.3 MB, free: 51.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1751, allocations: 3.031 kB / 449.3 MB, free: 51.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004702/0.1756, allocations: 435.6 kB / 449.7 MB, free: 51.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1756, allocations: 5.938 kB / 449.7 MB, free: 51.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.1756, allocations: 4.75 kB / 449.7 MB, free: 51.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002441/0.1758, allocations: 95.11 kB / 449.8 MB, free: 51.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.176, allocations: 73.86 kB / 449.9 MB, free: 51.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.1772, allocations: 1.86 MB / 451.8 MB, free: 49.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.1774, allocations: 28.02 kB / 451.8 MB, free: 49.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.1774, allocations: 12.47 kB / 451.8 MB, free: 49.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.1775, allocations: 207 kB / 452 MB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.1776, allocations: 41.91 kB / 452 MB, free: 49.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/0.1779, allocations: 300 kB / 452.3 MB, free: 49.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1779, allocations: 5.938 kB / 452.3 MB, free: 49.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1779, allocations: 3 kB / 452.3 MB, free: 49.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1779, allocations: 0 / 452.3 MB, free: 49.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.1785, allocations: 0.6544 MB / 453 MB, free: 48.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1785, allocations: 3.281 kB / 453 MB, free: 48.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.1786, allocations: 38.36 kB / 453 MB, free: 48.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/0.1788, allocations: 58.95 kB / 453.1 MB, free: 48.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1788, allocations: 4 kB / 453.1 MB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005813/0.1793, allocations: 1.422 MB / 454.5 MB, free: 47.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1793, allocations: 3.531 kB / 454.5 MB, free: 47.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.1797, allocations: 498.1 kB / 455 MB, free: 47.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/0.1798, allocations: 57.3 kB / 455.1 MB, free: 47.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.1798, allocations: 7.375 kB / 455.1 MB, free: 47.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1799, allocations: 13.5 kB / 455.1 MB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.18, allocations: 22.83 kB / 455.1 MB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.18, allocations: 7.062 kB / 455.1 MB, free: 47.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.1802, allocations: 276.9 kB / 455.4 MB, free: 47.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1802, allocations: 2.719 kB / 455.4 MB, free: 47.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003651/0.1805, allocations: 120.5 kB / 455.5 MB, free: 47.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.rotor.phi,dcm_ser.rotor.w,dcm_ser.motor.i,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007638/0.1813, allocations: 499.1 kB / 456 MB, free: 46.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005158/0.1818, allocations: 403.6 kB / 456.4 MB, free: 46.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1818, allocations: 2.188 kB / 456.4 MB, free: 46.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.182, allocations: 241.8 kB / 456.6 MB, free: 46.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.1824, allocations: 107.4 kB / 456.7 MB, free: 46.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.1835, allocations: 1.018 MB / 457.7 MB, free: 45.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.1836, allocations: 252.1 kB / 458 MB, free: 45.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.091e-05/0.1837, allocations: 43.17 kB / 458 MB, free: 45.81 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1837, allocations: 0 / 458 MB, free: 45.81 MB / 410.7 MB Notification: Performance of Templates: time 0.00731/0.191, allocations: 8.652 MB / 466.7 MB, free: 44.93 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.551574035547674]