Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.0009591/0.0009591, allocations: 84.8 kB / 21.5 MB, free: 2.992 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.001177/0.001177, allocations: 171.7 kB / 24.92 MB, free: 8.727 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.9883/0.9883, allocations: 177.1 MB / 205.3 MB, free: 5.059 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.2665/0.2665, allocations: 29.42 MB / 291.2 MB, free: 2.434 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.[0-9,]+..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.[0-9,]+..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.673e-05, allocations: 9.656 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005925/0.005952, allocations: 5.22 MB / 322.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005122/0.01107, allocations: 3.844 MB / 325.9 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004598/0.01153, allocations: 23.81 kB / 326 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007029/0.01856, allocations: 5.286 MB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009051/0.01947, allocations: 330.1 kB / 331.6 MB, free: 1.211 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006133/0.02008, allocations: 231.5 kB / 331.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002275/0.02236, allocations: 1.649 MB / 333.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.02345, allocations: 0.5555 MB / 334 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007914/0.02424, allocations: 0.5105 MB / 334.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007146/0.02495, allocations: 374.9 kB / 334.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.02507, allocations: 56 kB / 334.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.02529, allocations: 71.98 kB / 335 MB, free: 13.76 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002793/0.02557, allocations: 275.3 kB / 335.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.02586, allocations: 215.5 kB / 335.5 MB, free: 13.28 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008686/0.02673, allocations: 0.5021 MB / 336 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.02673, allocations: 0 / 336 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.02674, allocations: 0 / 336 MB, free: 12.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.02676, allocations: 0 / 336 MB, free: 12.77 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00143/0.02819, allocations: 0.7696 MB / 336.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.02824, allocations: 15.98 kB / 336.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003611/0.0286, allocations: 80.88 kB / 336.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008399/0.02944, allocations: 424.5 kB / 337.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.02948, allocations: 41.34 kB / 337.3 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.766e-05/0.02953, allocations: 43.94 kB / 337.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.02995, allocations: 403.6 kB / 337.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.02997, allocations: 11.89 kB / 337.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.03, allocations: 20 kB / 337.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.273e-05/0.03008, allocations: 48.95 kB / 337.8 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.0303, allocations: 157.6 kB / 338 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.03202, allocations: 1.847 MB / 339.8 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.03224, allocations: 191.5 kB / 340 MB, free: 8.535 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.395e-05/0.03231, allocations: 57.75 kB / 340.1 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.03233, allocations: 8 kB / 340.1 MB, free: 8.465 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.03236, allocations: 34.56 kB / 340.1 MB, free: 8.422 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 5.931e-06/0.03236, allocations: 0 / 340.1 MB, free: 8.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.001336/0.0337, allocations: 0.6933 MB / 340.8 MB, free: 7.688 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.03374, allocations: 85.05 kB / 340.9 MB, free: 7.586 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005229/0.03426, allocations: 343.1 kB / 341.2 MB, free: 7.238 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.03428, allocations: 29.7 kB / 341.3 MB, free: 7.203 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.0344, allocations: 269 kB / 341.5 MB, free: 6.938 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.482e-05/0.03447, allocations: 119 kB / 341.6 MB, free: 6.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.162e-05/0.03455, allocations: 78.11 kB / 341.7 MB, free: 6.738 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.853e-05/0.03465, allocations: 350.7 kB / 342.1 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.006e-05/0.03471, allocations: 47.8 kB / 342.1 MB, free: 6.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.03483, allocations: 191 kB / 342.3 MB, free: 6.094 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.03507, allocations: 271.2 kB / 342.6 MB, free: 5.762 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.03507, allocations: 0 / 342.6 MB, free: 5.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004511/0.03552, allocations: 364.9 kB / 342.9 MB, free: 5.391 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.03554, allocations: 8 kB / 342.9 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.03555, allocations: 4 kB / 342.9 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/0.03582, allocations: 112.4 kB / 343 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.03601, allocations: 83.92 kB / 343.1 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.03785, allocations: 2.694 MB / 345.8 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.03798, allocations: 8 kB / 345.8 MB, free: 2.281 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.03801, allocations: 19.98 kB / 345.8 MB, free: 2.262 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.03815, allocations: 140.5 kB / 346 MB, free: 2.113 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.0382, allocations: 39.91 kB / 346 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003989/0.0386, allocations: 270.5 kB / 346.3 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.03861, allocations: 4 kB / 346.3 MB, free: 1.785 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002695/0.03888, allocations: 221.1 kB / 346.5 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.03888, allocations: 3.984 kB / 346.5 MB, free: 1.547 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006779/0.03956, allocations: 0.5936 MB / 347.1 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.03956, allocations: 0 / 347.1 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.03969, allocations: 44.05 kB / 347.1 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/0.03985, allocations: 67.61 kB / 347.2 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.03986, allocations: 15.98 kB / 347.2 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.04132, allocations: 1.44 MB / 348.7 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.04132, allocations: 0 / 348.7 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.0417, allocations: 428.8 kB / 349.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.04176, allocations: 47.73 kB / 349.1 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.04179, allocations: 19.95 kB / 349.1 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.657e-05/0.04188, allocations: 4 kB / 349.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.04193, allocations: 27.95 kB / 349.2 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.04194, allocations: 4 kB / 349.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001064/0.04205, allocations: 140.7 kB / 349.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04205, allocations: 0 / 349.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004041/0.04245, allocations: 119.9 kB / 349.4 MB, free: 14.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001153/0.04257, allocations: 80.42 kB / 349.5 MB, free: 14.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005201/0.04309, allocations: 471.1 kB / 350 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/0.0431, allocations: 12 kB / 350 MB, free: 13.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.04339, allocations: 253.5 kB / 350.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/0.04392, allocations: 102.7 kB / 350.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.04636, allocations: 0.9772 MB / 351.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.04653, allocations: 177 kB / 351.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00019/0.04672, allocations: 43.39 kB / 351.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.04694, allocations: 123.3 kB / 351.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of SimCode: time 1.472e-06/0.04694, allocations: 4 kB / 351.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of Templates: time 0.01042/0.05736, allocations: 5.571 MB / 357.2 MB, free: 6.652 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.090493034105748]