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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002091/0.002091, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002145/0.002145, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.295/0.295, allocations: 38.53 MB / 344.5 MB, free: 2.594 MB / 270.1 MB " [Timeout remaining time 179] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.88 kB / 482 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2931, allocations: 61.24 MB / 0.5306 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.005905/0.299, allocations: 6.237 MB / 0.5366 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.3018, allocations: 1.964 MB / 0.5386 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002576/0.3021, allocations: 23 kB / 0.5386 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.3039, allocations: 0.7172 MB / 0.5393 GB, free: 14.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008845/0.3048, allocations: 379.5 kB / 0.5396 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.3059, allocations: 404.3 kB / 0.54 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.307, allocations: 0.9378 MB / 0.5409 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005269/0.3076, allocations: 348.2 kB / 0.5413 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005344/0.3081, allocations: 427.6 kB / 0.5417 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007761/0.3089, allocations: 0.5717 MB / 0.5422 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.198e-05/0.309, allocations: 57.25 kB / 0.5423 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000475/0.3094, allocations: 249.1 kB / 0.5425 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000466/0.3099, allocations: 430.2 kB / 0.5429 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005014/0.3104, allocations: 427.8 kB / 0.5434 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.3116, allocations: 1.019 MB / 0.5443 GB, free: 11.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3116, allocations: 0 / 0.5443 GB, free: 11.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3116, allocations: 1.156 kB / 0.5443 GB, free: 11.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.3116, allocations: 0 / 0.5443 GB, free: 11.79 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.001796/0.3134, allocations: 1.087 MB / 0.5454 GB, free: 10.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3134, allocations: 12.89 kB / 0.5454 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006753/0.3141, allocations: 143.3 kB / 0.5456 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009226/0.315, allocations: 0.5571 MB / 0.5461 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/0.3151, allocations: 57.31 kB / 0.5462 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.3152, allocations: 81.52 kB / 0.5462 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.3168, allocations: 1.128 MB / 0.5473 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.3168, allocations: 11.12 kB / 0.5473 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.687e-05/0.3169, allocations: 33.38 kB / 0.5474 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-05/0.317, allocations: 49.86 kB / 0.5474 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.3183, allocations: 0.8651 MB / 0.5483 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005346/0.3237, allocations: 5.054 MB / 0.5532 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.3243, allocations: 391.3 kB / 0.5536 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.3246, allocations: 194 kB / 0.5538 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/0.3247, allocations: 13.45 kB / 0.5538 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.3247, allocations: 47.59 kB / 0.5538 GB, free: 4.344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/0.3247, allocations: 0 / 0.5538 GB, free: 4.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.001897/0.3266, allocations: 1.085 MB / 0.5549 GB, free: 3.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.3267, allocations: 81.11 kB / 0.555 GB, free: 3.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005586/0.3272, allocations: 0.4939 MB / 0.5554 GB, free: 2.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.3273, allocations: 33.83 kB / 0.5555 GB, free: 2.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000321/0.3276, allocations: 471.3 kB / 0.5559 GB, free: 2.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.3277, allocations: 158.7 kB / 0.5561 GB, free: 1.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.3279, allocations: 154.5 kB / 0.5562 GB, free: 1.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3281, allocations: 366.8 kB / 0.5566 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.3285, allocations: 237.8 kB / 0.5568 GB, free: 1.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006649/0.3291, allocations: 0.617 MB / 0.5574 GB, free: 440 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.3303, allocations: 0.9457 MB / 0.5583 GB, free: 15.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.3303, allocations: 4 kB / 0.5583 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001364/0.3317, allocations: 0.8997 MB / 0.5592 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.3317, allocations: 12 kB / 0.5592 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.3317, allocations: 12 kB / 0.5592 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.353e-05/0.3318, allocations: 16.75 kB / 0.5592 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007117/0.3325, allocations: 219.6 kB / 0.5595 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.369e-05/0.3325, allocations: 31.91 kB / 0.5595 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/0.3329, allocations: 51.91 kB / 0.5595 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/0.333, allocations: 44 kB / 0.5596 GB, free: 14.01 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.0003948/0.3334, allocations: 313.2 kB / 0.5599 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.143e-05/0.3335, allocations: 59.56 kB / 0.5599 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009656/0.3344, allocations: 0.5641 MB / 0.5605 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3344, allocations: 4 kB / 0.5605 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3344, allocations: 0 / 0.5605 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3345, allocations: 0 / 0.5605 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.3366, allocations: 1.345 MB / 0.5618 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.3366, allocations: 3.938 kB / 0.5618 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004406/0.337, allocations: 115.8 kB / 0.5619 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.337, allocations: 7.938 kB / 0.5619 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.337, allocations: 8 kB / 0.5619 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.337, allocations: 4 kB / 0.5619 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3371, allocations: 4.25 kB / 0.5619 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008323/0.3379, allocations: 0.6499 MB / 0.5626 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.338, allocations: 132.7 kB / 0.5627 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.945e-05/0.3381, allocations: 15.94 kB / 0.5627 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.3383, allocations: 23.97 kB / 0.5627 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.3384, allocations: 31.91 kB / 0.5628 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.3384, allocations: 23.98 kB / 0.5628 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003625/0.3388, allocations: 326.9 kB / 0.5631 GB, free: 10.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3388, allocations: 0 / 0.5631 GB, free: 10.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006994/0.3395, allocations: 160 kB / 0.5633 GB, free: 10.07 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.0001312/0.3396, allocations: 111.2 kB / 0.5634 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009093/0.3405, allocations: 0.5802 MB / 0.5639 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3406, allocations: 0.9375 kB / 0.5639 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.3409, allocations: 223.6 kB / 0.5641 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/0.3416, allocations: 105.9 kB / 0.5642 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.3438, allocations: 1.372 MB / 0.5656 GB, free: 7.621 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/0.3445, allocations: 1.007 MB / 0.5666 GB, free: 6.586 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005045/0.345, allocations: 232.9 kB / 0.5668 GB, free: 6.355 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.3451, allocations: 51.42 kB / 0.5668 GB, free: 6.305 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3451, allocations: 4 kB / 0.5668 GB, free: 6.301 MB / 414.1 MB Notification: Performance of Templates: time 0.01198/0.3571, allocations: 6.112 MB / 0.5728 GB, free: 244 kB / 414.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Units.mat","/var/lib/jenkins/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: 5.1852320255711675]