Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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.001402/0.001402, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001542/0.001542, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.327/1.327, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 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.193/0.193, allocations: 38.54 MB / 353.2 MB, free: 12.55 MB / 286.1 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.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.91 kB / 493.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2676, allocations: 62.47 MB / 0.5432 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.006965/0.2746, allocations: 6.275 MB / 0.5493 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003137/0.2777, allocations: 2.026 MB / 0.5513 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.2779, allocations: 30.94 kB / 0.5513 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.2796, allocations: 0.7077 MB / 0.552 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007292/0.2803, allocations: 391.2 kB / 0.5524 GB, free: 9.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009277/0.2813, allocations: 403.1 kB / 0.5528 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009447/0.2822, allocations: 0.9368 MB / 0.5537 GB, free: 8.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005201/0.2827, allocations: 402.1 kB / 0.5541 GB, free: 8.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005848/0.2833, allocations: 446 kB / 0.5545 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007152/0.284, allocations: 0.5736 MB / 0.5551 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.397e-05/0.2841, allocations: 57.5 kB / 0.5551 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004485/0.2845, allocations: 265.5 kB / 0.5554 GB, free: 7.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003608/0.2849, allocations: 428.9 kB / 0.5558 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.2853, allocations: 429.1 kB / 0.5562 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.2864, allocations: 1.023 MB / 0.5572 GB, free: 6.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2864, allocations: 8 kB / 0.5572 GB, free: 6.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2864, allocations: 0 / 0.5572 GB, free: 6.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.2864, allocations: 0 / 0.5572 GB, free: 6.102 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001651/0.2881, allocations: 1.022 MB / 0.5582 GB, free: 5.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2881, allocations: 15.97 kB / 0.5582 GB, free: 5.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.2897, allocations: 204.2 kB / 0.5584 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009118/0.2906, allocations: 494.1 kB / 0.5589 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/0.2906, allocations: 58.38 kB / 0.5589 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.2907, allocations: 80.12 kB / 0.559 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.2922, allocations: 1.126 MB / 0.5601 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.2922, allocations: 7.938 kB / 0.5601 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.78e-05/0.2923, allocations: 32 kB / 0.5602 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.27e-05/0.2924, allocations: 57.97 kB / 0.5602 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.2937, allocations: 0.8623 MB / 0.5611 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005155/0.2988, allocations: 4.979 MB / 0.5659 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006454/0.2995, allocations: 399.6 kB / 0.5663 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.2998, allocations: 193.7 kB / 0.5665 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.2998, allocations: 7.984 kB / 0.5665 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.2998, allocations: 46.5 kB / 0.5665 GB, free: 12.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 1.824e-06/0.2998, allocations: 0 / 0.5665 GB, free: 12.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.001723/0.3015, allocations: 1.089 MB / 0.5676 GB, free: 11.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.3016, allocations: 81.11 kB / 0.5677 GB, free: 10.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005235/0.3021, allocations: 0.494 MB / 0.5682 GB, free: 10.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.3022, allocations: 29.7 kB / 0.5682 GB, free: 10.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.3025, allocations: 475.2 kB / 0.5686 GB, free: 9.926 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.3026, allocations: 158.6 kB / 0.5688 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.3028, allocations: 150.6 kB / 0.5689 GB, free: 9.617 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.303, allocations: 374.9 kB / 0.5693 GB, free: 9.242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.3033, allocations: 233.9 kB / 0.5695 GB, free: 9.012 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006417/0.304, allocations: 0.6207 MB / 0.5701 GB, free: 8.207 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.305, allocations: 0.9415 MB / 0.571 GB, free: 7.082 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3051, allocations: 4 kB / 0.571 GB, free: 7.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00126/0.3063, allocations: 0.9004 MB / 0.5719 GB, free: 6.172 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3063, allocations: 12 kB / 0.5719 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.3064, allocations: 12 kB / 0.572 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/0.3064, allocations: 20 kB / 0.572 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006744/0.3071, allocations: 219.5 kB / 0.5722 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.112e-05/0.3071, allocations: 23.94 kB / 0.5722 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003828/0.3075, allocations: 55.95 kB / 0.5723 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.3075, allocations: 36 kB / 0.5723 GB, free: 5.801 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003548/0.3079, allocations: 313.7 kB / 0.5726 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.623e-05/0.308, allocations: 55.62 kB / 0.5726 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008795/0.3088, allocations: 0.564 MB / 0.5732 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3089, allocations: 4 kB / 0.5732 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3089, allocations: 3.984 kB / 0.5732 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3089, allocations: 3.938 kB / 0.5732 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.3108, allocations: 1.297 MB / 0.5745 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3108, allocations: 4.25 kB / 0.5745 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.3112, allocations: 115.8 kB / 0.5746 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.3112, allocations: 11.92 kB / 0.5746 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.3113, allocations: 16 kB / 0.5746 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.3113, allocations: 8 kB / 0.5746 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3113, allocations: 0 / 0.5746 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000766/0.3121, allocations: 0.6499 MB / 0.5753 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.419e-05/0.3121, allocations: 47.62 kB / 0.5753 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/0.3122, allocations: 19.92 kB / 0.5753 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.3125, allocations: 27.98 kB / 0.5753 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.3125, allocations: 39.66 kB / 0.5754 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.3125, allocations: 16 kB / 0.5754 GB, free: 2.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003455/0.3129, allocations: 326.8 kB / 0.5757 GB, free: 2.164 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3129, allocations: 0 / 0.5757 GB, free: 2.164 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006474/0.3135, allocations: 164 kB / 0.5759 GB, free: 2.004 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (51): * Single equations (assignments): 50 * 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.0001119/0.3136, allocations: 111.1 kB / 0.576 GB, free: 1.883 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008453/0.3145, allocations: 0.588 MB / 0.5765 GB, free: 1.297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3145, allocations: 0 / 0.5765 GB, free: 1.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.3148, allocations: 215.6 kB / 0.5768 GB, free: 1.086 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006166/0.3154, allocations: 127.9 kB / 0.5769 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.3175, allocations: 1.452 MB / 0.5783 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.3182, allocations: 1.003 MB / 0.5793 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.3183, allocations: 55.42 kB / 0.5793 GB, free: 14.36 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3183, allocations: 0 / 0.5793 GB, free: 14.36 MB / 430.1 MB Notification: Performance of Templates: time 0.01133/0.3296, allocations: 8.4 MB / 0.5875 GB, free: 5.973 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Units_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Units.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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: 7.914862875128165]