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.002332/0.002332, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002562/0.002562, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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.561/1.561, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3107/0.3107, allocations: 29.4 MB / 290.5 MB, free: 2.418 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 1.232e-06/1.232e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.79e-05, allocations: 9.547 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.006912/0.00694, allocations: 4.627 MB / 373.5 MB, free: 6.648 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.009411, allocations: 1.464 MB / 375 MB, free: 5.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.009595, allocations: 19.81 kB / 375 MB, free: 5.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004257/0.01002, allocations: 119 kB / 375.1 MB, free: 5.043 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006501/0.01067, allocations: 282.1 kB / 375.4 MB, free: 4.766 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.01095, allocations: 111.8 kB / 375.5 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007756/0.01172, allocations: 0.5173 MB / 376 MB, free: 4.137 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.01193, allocations: 108.4 kB / 376.1 MB, free: 4.031 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004477/0.01238, allocations: 291.2 kB / 376.4 MB, free: 3.746 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.01272, allocations: 175.5 kB / 376.6 MB, free: 3.574 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.01278, allocations: 28 kB / 376.6 MB, free: 3.547 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.665e-05/0.01284, allocations: 24 kB / 376.6 MB, free: 3.523 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.01299, allocations: 111.6 kB / 376.7 MB, free: 3.414 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.01317, allocations: 119.7 kB / 376.9 MB, free: 3.297 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005153/0.01368, allocations: 378.8 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01369, allocations: 0 / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01369, allocations: 0 / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.01369, allocations: 0 / 377.2 MB, free: 2.926 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.001203/0.0149, allocations: 0.734 MB / 378 MB, free: 2.156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.01494, allocations: 11.98 kB / 378 MB, free: 2.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.01507, allocations: 60.7 kB / 378 MB, free: 2.086 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007243/0.01579, allocations: 351.6 kB / 378.4 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.01582, allocations: 21.03 kB / 378.4 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.01587, allocations: 28.33 kB / 378.4 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005634/0.01644, allocations: 351.8 kB / 378.8 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.01646, allocations: 7.922 kB / 378.8 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.01649, allocations: 12 kB / 378.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.0165, allocations: 4 kB / 378.8 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.01682, allocations: 153.8 kB / 378.9 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.01889, allocations: 1.828 MB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.01935, allocations: 224.3 kB / 381 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.01949, allocations: 82.78 kB / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.01952, allocations: 4 kB / 381.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.01956, allocations: 41.33 kB / 381.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.263e-06/0.01956, allocations: 4 kB / 381.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.001193/0.02075, allocations: 0.6244 MB / 381.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.02086, allocations: 140.8 kB / 381.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/0.02128, allocations: 390.2 kB / 382.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.02131, allocations: 29.7 kB / 382.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.02154, allocations: 275.2 kB / 382.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.858e-05/0.02162, allocations: 75.38 kB / 382.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.993e-05/0.02172, allocations: 59.36 kB / 382.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003133/0.02203, allocations: 0.5352 MB / 383.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.02213, allocations: 43.97 kB / 383.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.02238, allocations: 195.3 kB / 383.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.02274, allocations: 266.3 kB / 383.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.02275, allocations: 0 / 383.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000464/0.02321, allocations: 269 kB / 384 MB, free: 11.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.02323, allocations: 8 kB / 384 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.02324, allocations: 4 kB / 384 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.02325, allocations: 4.438 kB / 384 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.02366, allocations: 79.91 kB / 384.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.02525, allocations: 1.813 MB / 385.9 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.02543, allocations: 8 kB / 385.9 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.02546, allocations: 12 kB / 385.9 MB, free: 9.598 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.0002872/0.02575, allocations: 204.6 kB / 386.1 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.02587, allocations: 43.75 kB / 386.1 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.02628, allocations: 180.2 kB / 386.3 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.02629, allocations: 4 kB / 386.3 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.0263, allocations: 4 kB / 386.3 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.0263, allocations: 3.984 kB / 386.3 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009878/0.02729, allocations: 0.548 MB / 386.9 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.0273, allocations: 3.938 kB / 386.9 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.02754, allocations: 55.88 kB / 386.9 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.02755, allocations: 0 / 386.9 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.02757, allocations: 8 kB / 387 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.02757, allocations: 0 / 387 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.02757, allocations: 4 kB / 387 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007996/0.02837, allocations: 0.6252 MB / 387.6 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.02843, allocations: 27.75 kB / 387.6 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.02846, allocations: 0 / 387.6 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.02866, allocations: 8 kB / 387.6 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.0287, allocations: 15.97 kB / 387.6 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.02872, allocations: 12 kB / 387.6 MB, free: 7.777 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002489/0.02897, allocations: 247 kB / 387.9 MB, free: 7.539 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02897, allocations: 0 / 387.9 MB, free: 7.539 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004176/0.02939, allocations: 60 kB / 387.9 MB, free: 7.48 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.0001306/0.02952, allocations: 99.17 kB / 388 MB, free: 7.375 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004483/0.02996, allocations: 179 kB / 388.2 MB, free: 7.195 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02997, allocations: 4.188 kB / 388.2 MB, free: 7.191 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.0301, allocations: 75.59 kB / 388.3 MB, free: 7.113 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007056/0.03081, allocations: 85.45 kB / 388.4 MB, free: 7.035 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.03242, allocations: 0.7394 MB / 389.1 MB, free: 6.254 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.03267, allocations: 193.1 kB / 389.3 MB, free: 6.047 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.03283, allocations: 46.94 kB / 389.3 MB, free: 6.004 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.0329, allocations: 28.48 kB / 389.4 MB, free: 5.977 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.0329, allocations: 0 / 389.4 MB, free: 5.977 MB / 362.7 MB Notification: Performance of Templates: time 0.008048/0.04095, allocations: 2.894 MB / 392.3 MB, free: 3.156 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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: 4.820927723078057]