Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.001062/0.001062, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009672/0.0009672, allocations: 161.9 kB / 24.99 MB, free: 8.336 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 1.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.621 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.2587/0.2587, allocations: 29.42 MB / 291.2 MB, free: 2.52 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.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 3.938 kB / 369.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.478e-05/3.704e-05, allocations: 9.188 kB / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.006564/0.006601, allocations: 4.677 MB / 374.3 MB, free: 6.641 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.008509, allocations: 1.468 MB / 375.8 MB, free: 5.168 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.008795, allocations: 23.81 kB / 375.8 MB, free: 5.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.009177, allocations: 115.1 kB / 375.9 MB, free: 5.031 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006155/0.009792, allocations: 290 kB / 376.2 MB, free: 4.746 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.01007, allocations: 107.8 kB / 376.3 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006366/0.01071, allocations: 0.5251 MB / 376.8 MB, free: 4.113 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.01088, allocations: 96.5 kB / 376.9 MB, free: 4.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003494/0.01123, allocations: 287.1 kB / 377.2 MB, free: 3.738 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.01149, allocations: 183.5 kB / 377.4 MB, free: 3.559 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.01152, allocations: 24 kB / 377.4 MB, free: 3.535 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.716e-05/0.01156, allocations: 28 kB / 377.4 MB, free: 3.508 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.78e-05/0.01165, allocations: 107.6 kB / 377.5 MB, free: 3.402 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.01176, allocations: 127.7 kB / 377.7 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.01208, allocations: 263 kB / 377.9 MB, free: 3.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.01208, allocations: 0 / 377.9 MB, free: 3.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01209, allocations: 0 / 377.9 MB, free: 3.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.01209, allocations: 0 / 377.9 MB, free: 3.02 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007699/0.01286, allocations: 0.7071 MB / 378.6 MB, free: 2.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.0129, allocations: 11.98 kB / 378.6 MB, free: 2.266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.361e-05/0.01298, allocations: 60.7 kB / 378.7 MB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.01345, allocations: 363.4 kB / 379 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.01348, allocations: 21.03 kB / 379.1 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.56e-05/0.01352, allocations: 28.38 kB / 379.1 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.01386, allocations: 295.8 kB / 379.4 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.01388, allocations: 4 kB / 379.4 MB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.0139, allocations: 12 kB / 379.4 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.01391, allocations: 4 kB / 379.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.01408, allocations: 114.8 kB / 379.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.01552, allocations: 1.742 MB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.01581, allocations: 188.2 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.008e-05/0.01588, allocations: 62.86 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.01589, allocations: 4 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.01592, allocations: 45.38 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.873e-06/0.01593, allocations: 0 / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007844/0.01671, allocations: 0.5582 MB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.01677, allocations: 140.6 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.017, allocations: 338.2 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.01702, allocations: 25.7 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.01715, allocations: 271.1 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.0172, allocations: 67.42 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.01727, allocations: 59.36 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.01741, allocations: 0.5117 MB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.956e-05/0.01746, allocations: 27.97 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.01758, allocations: 175.2 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.01779, allocations: 230.2 kB / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01779, allocations: 0 / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002403/0.01803, allocations: 221.1 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.01805, allocations: 8 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.01805, allocations: 4.438 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.01807, allocations: 11.94 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.01828, allocations: 79.89 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007884/0.01907, allocations: 1.798 MB / 386 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.528e-05/0.01917, allocations: 11.94 kB / 386.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.01918, allocations: 16.12 kB / 386.1 MB, free: 10.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.01929, allocations: 172.5 kB / 386.2 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.01935, allocations: 43.77 kB / 386.3 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.01956, allocations: 152.1 kB / 386.4 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/0.01956, allocations: 7.984 kB / 386.4 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01957, allocations: 0 / 386.4 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01957, allocations: 0 / 386.4 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.02006, allocations: 489.2 kB / 386.9 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.02006, allocations: 3.938 kB / 386.9 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.0202, allocations: 44 kB / 387 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.0202, allocations: 4 kB / 387 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.02021, allocations: 4 kB / 387 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.02022, allocations: 4 kB / 387 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.02022, allocations: 3.938 kB / 387 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.02056, allocations: 0.5603 MB / 387.5 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.02059, allocations: 31.7 kB / 387.6 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.02062, allocations: 8 kB / 387.6 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.878e-05/0.02071, allocations: 4 kB / 387.6 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.02074, allocations: 19.97 kB / 387.6 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.02075, allocations: 4 kB / 387.6 MB, free: 8.598 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.02088, allocations: 219 kB / 387.8 MB, free: 8.387 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02088, allocations: 3.938 kB / 387.8 MB, free: 8.383 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002995/0.02118, allocations: 63.98 kB / 387.9 MB, free: 8.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004152/0.0216, allocations: 99.25 kB / 388 MB, free: 8.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.02186, allocations: 135 kB / 388.1 MB, free: 8.078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.02186, allocations: 0 / 388.1 MB, free: 8.078 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.852e-05/0.02193, allocations: 63.53 kB / 388.2 MB, free: 8.012 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.02238, allocations: 77.19 kB / 388.2 MB, free: 7.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.02381, allocations: 0.7434 MB / 389 MB, free: 7.156 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.038e-05/0.0239, allocations: 112.5 kB / 389.1 MB, free: 7.027 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000128/0.02402, allocations: 42.95 kB / 389.1 MB, free: 6.988 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.02408, allocations: 28.48 kB / 389.2 MB, free: 6.961 MB / 362.7 MB Notification: Performance of SimCode: time 1.272e-06/0.02408, allocations: 0 / 389.2 MB, free: 6.961 MB / 362.7 MB Notification: Performance of Templates: time 0.005602/0.02968, allocations: 2.919 MB / 392.1 MB, free: 4.121 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.068353518145159]