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.0009122/0.0009122, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009177/0.0009177, allocations: 166.4 kB / 24.99 MB, free: 8.746 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.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2415/0.2415, allocations: 29.42 MB / 291.2 MB, free: 2.5 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.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.[0-9,]+.|meter_SI.p.[0-9,]+.|meter_SI.v.[0-9,]+.|meter_pu.i.[0-9,]+.|meter_pu.p.[0-9,]+.|meter_pu.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.[0-9,]+.|meter_SI.p.[0-9,]+.|meter_SI.v.[0-9,]+.|meter_pu.i.[0-9,]+.|meter_pu.p.[0-9,]+.|meter_pu.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 3.938 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.922e-05, allocations: 2.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.005536/0.005565, allocations: 6.16 MB / 375.8 MB, free: 5.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.008208, allocations: 1.947 MB / 377.7 MB, free: 3.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003236/0.008532, allocations: 31.75 kB / 377.7 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009913/0.009523, allocations: 0.7041 MB / 378.4 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000676/0.0102, allocations: 397.7 kB / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008348/0.01103, allocations: 406.7 kB / 379.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009283/0.01196, allocations: 0.9625 MB / 380.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004916/0.01245, allocations: 392.3 kB / 380.6 MB, free: 308 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006953/0.01315, allocations: 0.5804 MB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005653/0.01371, allocations: 0.5065 MB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-05/0.01379, allocations: 63.98 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.01421, allocations: 243.5 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003022/0.01451, allocations: 443 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.01475, allocations: 299.3 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007566/0.01551, allocations: 0.7787 MB / 383.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.01551, allocations: 4 kB / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01551, allocations: 0 / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.01553, allocations: 4 kB / 383.5 MB, free: 13.39 MB / 362.7 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.001199/0.01673, allocations: 1.122 MB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.01677, allocations: 11.98 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007253/0.01749, allocations: 296.1 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005787/0.01807, allocations: 0.5001 MB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.0181, allocations: 54.38 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.084e-05/0.01818, allocations: 88.34 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008306/0.01901, allocations: 0.8674 MB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.01904, allocations: 11.88 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.996e-05/0.01909, allocations: 39.97 kB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.193e-05/0.01915, allocations: 45.98 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005836/0.01973, allocations: 423.2 kB / 386.9 MB, free: 9.742 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00341/0.02314, allocations: 5.869 MB / 392.8 MB, free: 3.625 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.02351, allocations: 254.4 kB / 393 MB, free: 3.348 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.02365, allocations: 111.4 kB / 393.1 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.02368, allocations: 16.67 kB / 393.2 MB, free: 3.215 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.0237, allocations: 45.31 kB / 393.2 MB, free: 3.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.914e-06/0.02371, allocations: 0 / 393.2 MB, free: 3.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001006/0.02471, allocations: 0.7607 MB / 394 MB, free: 2.391 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.02476, allocations: 89.23 kB / 394 MB, free: 2.285 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.02511, allocations: 0.5061 MB / 394.6 MB, free: 1.762 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.02513, allocations: 29.7 kB / 394.6 MB, free: 1.727 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.02536, allocations: 0.5058 MB / 395.1 MB, free: 1.215 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.745e-05/0.02546, allocations: 170.6 kB / 395.3 MB, free: 1.047 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.02559, allocations: 160.2 kB / 395.4 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.02574, allocations: 0.543 MB / 396 MB, free: 332 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.02589, allocations: 105.9 kB / 396.1 MB, free: 228 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/0.02629, allocations: 0.6615 MB / 396.7 MB, free: 15.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006397/0.02693, allocations: 0.8421 MB / 397.6 MB, free: 14.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.02694, allocations: 4 kB / 397.6 MB, free: 14.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.000744/0.02769, allocations: 0.674 MB / 398.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.02771, allocations: 19.97 kB / 398.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.02772, allocations: 12 kB / 398.3 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.02774, allocations: 20 kB / 398.3 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.02813, allocations: 223.6 kB / 398.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.02815, allocations: 23.92 kB / 398.5 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.02837, allocations: 59.86 kB / 398.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.02841, allocations: 43.98 kB / 398.6 MB, free: 13.14 MB / 378.7 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.0001503/0.02856, allocations: 220.2 kB / 398.8 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/0.02863, allocations: 67.61 kB / 398.9 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.0291, allocations: 383.1 kB / 399.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.02911, allocations: 4 kB / 399.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.02911, allocations: 0 / 399.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.02912, allocations: 3.984 kB / 399.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.03023, allocations: 1.05 MB / 400.3 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.03023, allocations: 0 / 400.3 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.03045, allocations: 111.9 kB / 400.5 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.03046, allocations: 4 kB / 400.5 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.03048, allocations: 8 kB / 400.5 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.738e-06/0.03048, allocations: 4 kB / 400.5 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.03049, allocations: 7.938 kB / 400.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004589/0.03095, allocations: 0.5846 MB / 401.1 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.03101, allocations: 59.59 kB / 401.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.03105, allocations: 8 kB / 401.1 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.03117, allocations: 19.98 kB / 401.1 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.03122, allocations: 39.88 kB / 401.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.03124, allocations: 16 kB / 401.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001826/0.03143, allocations: 291 kB / 401.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03143, allocations: 0 / 401.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004137/0.03184, allocations: 164 kB / 401.6 MB, free: 9.977 MB / 378.7 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.0001039/0.03194, allocations: 107.1 kB / 401.8 MB, free: 9.859 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004731/0.03242, allocations: 424 kB / 402.2 MB, free: 9.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.03242, allocations: 0 / 402.2 MB, free: 9.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.03258, allocations: 168.1 kB / 402.3 MB, free: 9.273 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.03301, allocations: 116.9 kB / 402.4 MB, free: 9.172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.03474, allocations: 1.242 MB / 403.7 MB, free: 7.852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.03488, allocations: 214 kB / 403.9 MB, free: 7.621 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003039/0.03518, allocations: 188.9 kB / 404.1 MB, free: 7.438 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.605e-05/0.03528, allocations: 48.5 kB / 404.1 MB, free: 7.391 MB / 378.7 MB Notification: Performance of SimCode: time 6.92e-07/0.03528, allocations: 0 / 404.1 MB, free: 7.391 MB / 378.7 MB Notification: Performance of Templates: time 0.007451/0.04273, allocations: 5.443 MB / 409.6 MB, free: 2.059 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Units_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Units.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.296047384850681]