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.001334/0.001334, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001494/0.001494, allocations: 211 kB / 24.48 MB, free: 3.938 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.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 7.758 MB / 206.1 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.1867/0.1867, allocations: 38.55 MB / 353.2 MB, free: 12.33 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.002232/0.002232, allocations: 71.91 kB / 493.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3268, allocations: 62.46 MB / 0.5431 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.007878/0.3347, allocations: 5.826 MB / 0.5488 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003787/0.3384, allocations: 1.884 MB / 0.5507 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004206/0.3389, allocations: 30.84 kB / 0.5507 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001945/0.3408, allocations: 0.6823 MB / 0.5514 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.3419, allocations: 387.5 kB / 0.5517 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.3431, allocations: 404 kB / 0.5521 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.3443, allocations: 0.9396 MB / 0.553 GB, free: 8.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006718/0.345, allocations: 393.4 kB / 0.5534 GB, free: 8.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007762/0.3458, allocations: 451.4 kB / 0.5538 GB, free: 8.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008124/0.3466, allocations: 0.5414 MB / 0.5544 GB, free: 8.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.3467, allocations: 57.34 kB / 0.5544 GB, free: 8.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005649/0.3473, allocations: 247.7 kB / 0.5547 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004318/0.3477, allocations: 422 kB / 0.5551 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005172/0.3482, allocations: 352.5 kB / 0.5554 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.3496, allocations: 1.047 MB / 0.5564 GB, free: 6.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3496, allocations: 0 / 0.5564 GB, free: 6.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3496, allocations: 0 / 0.5564 GB, free: 6.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.034e-05/0.3496, allocations: 0 / 0.5564 GB, free: 6.594 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.001903/0.3515, allocations: 1.015 MB / 0.5574 GB, free: 5.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3515, allocations: 11.98 kB / 0.5574 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.3526, allocations: 212.2 kB / 0.5576 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.3537, allocations: 494.1 kB / 0.5581 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.524e-05/0.3538, allocations: 62.36 kB / 0.5582 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.3539, allocations: 76.12 kB / 0.5582 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.3556, allocations: 1.126 MB / 0.5593 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.3556, allocations: 7.938 kB / 0.5593 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.598e-05/0.3557, allocations: 35.98 kB / 0.5594 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.045e-05/0.3558, allocations: 49.98 kB / 0.5594 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.3572, allocations: 0.8662 MB / 0.5603 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00578/0.363, allocations: 4.711 MB / 0.5649 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/0.3637, allocations: 396.1 kB / 0.5652 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/0.364, allocations: 201.5 kB / 0.5654 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/0.3641, allocations: 7.938 kB / 0.5654 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.3641, allocations: 38.56 kB / 0.5655 GB, free: 12.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.544e-06/0.3641, allocations: 0 / 0.5655 GB, free: 12.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.001962/0.3661, allocations: 1.082 MB / 0.5665 GB, free: 11.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.3662, allocations: 85.14 kB / 0.5666 GB, free: 11.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/0.3667, allocations: 0.4897 MB / 0.5671 GB, free: 11.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.3668, allocations: 29.7 kB / 0.5671 GB, free: 11.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/0.3671, allocations: 475.2 kB / 0.5676 GB, free: 10.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.3673, allocations: 158.7 kB / 0.5677 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.3675, allocations: 158.5 kB / 0.5679 GB, free: 10.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.3677, allocations: 362.8 kB / 0.5682 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.3681, allocations: 237.8 kB / 0.5685 GB, free: 9.801 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007472/0.3688, allocations: 0.6207 MB / 0.5691 GB, free: 9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.37, allocations: 0.9416 MB / 0.57 GB, free: 7.875 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.37, allocations: 4 kB / 0.57 GB, free: 7.871 MB / 414.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001435/0.3715, allocations: 0.8965 MB / 0.5709 GB, free: 6.969 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.3715, allocations: 14.81 kB / 0.5709 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.3715, allocations: 12 kB / 0.5709 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.538e-05/0.3715, allocations: 23.94 kB / 0.5709 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007318/0.3723, allocations: 219.6 kB / 0.5711 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-05/0.3723, allocations: 23.92 kB / 0.5711 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.3728, allocations: 55.91 kB / 0.5712 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.086e-05/0.3728, allocations: 40 kB / 0.5712 GB, free: 6.59 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.0003894/0.3732, allocations: 313.7 kB / 0.5715 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.306e-05/0.3733, allocations: 51.67 kB / 0.5716 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009936/0.3743, allocations: 0.56 MB / 0.5721 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.3743, allocations: 4 kB / 0.5721 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3743, allocations: 0 / 0.5721 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3743, allocations: 0 / 0.5721 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.3765, allocations: 1.165 MB / 0.5733 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.3765, allocations: 0 / 0.5733 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.3769, allocations: 111.8 kB / 0.5734 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/0.3769, allocations: 8 kB / 0.5734 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.377, allocations: 12 kB / 0.5734 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.232e-05/0.377, allocations: 11.92 kB / 0.5734 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.377, allocations: 4 kB / 0.5734 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009005/0.3779, allocations: 0.6462 MB / 0.574 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.378, allocations: 51.62 kB / 0.5741 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.613e-05/0.3781, allocations: 8 kB / 0.5741 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.3784, allocations: 31.91 kB / 0.5741 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.886e-05/0.3784, allocations: 35.67 kB / 0.5742 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.3785, allocations: 23.92 kB / 0.5742 GB, free: 3.441 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000358/0.3788, allocations: 307.1 kB / 0.5745 GB, free: 3.141 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3788, allocations: 0 / 0.5745 GB, free: 3.141 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007368/0.3796, allocations: 164 kB / 0.5746 GB, free: 2.98 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.0001374/0.3797, allocations: 111.1 kB / 0.5747 GB, free: 2.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.3807, allocations: 0.5884 MB / 0.5753 GB, free: 2.273 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3807, allocations: 0 / 0.5753 GB, free: 2.273 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.381, allocations: 215.6 kB / 0.5755 GB, free: 2.062 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006772/0.3817, allocations: 120.3 kB / 0.5756 GB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.3841, allocations: 1.452 MB / 0.5771 GB, free: 440 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.3846, allocations: 410.8 kB / 0.5774 GB, free: 4 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.3848, allocations: 51.48 kB / 0.5775 GB, free: 15.95 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3848, allocations: 0 / 0.5775 GB, free: 15.95 MB / 430.1 MB Notification: Performance of Templates: time 0.01494/0.3997, allocations: 8.634 MB / 0.5859 GB, free: 7.332 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: 8.692584059201181]