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.0007293/0.0007293, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009746/0.001704, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006727/0.0006727, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008457/0.001518, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.031/1.031, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08929/1.12, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1554/0.1554, allocations: 29.45 MB / 273.6 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.183/0.3384, allocations: 9.535 MB / 283.1 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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 1.492e-06/1.492e-06, allocations: 0 / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.393e-05, allocations: 2.312 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.008565/0.008579, allocations: 5.331 MB / 289.8 MB, free: 7.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002639/0.01122, allocations: 1.799 MB / 291.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.01146, allocations: 34.56 kB / 291.6 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.01246, allocations: 0.6483 MB / 292.2 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006332/0.0131, allocations: 422.7 kB / 292.7 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000765/0.01386, allocations: 403.5 kB / 293.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009584/0.01482, allocations: 1.003 MB / 294.1 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005029/0.01532, allocations: 408.1 kB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007655/0.01609, allocations: 0.6435 MB / 295.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006257/0.01671, allocations: 0.4915 MB / 295.6 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.927e-05/0.01679, allocations: 56 kB / 295.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004179/0.01721, allocations: 255.4 kB / 295.9 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003198/0.01753, allocations: 419.1 kB / 296.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.01778, allocations: 255.5 kB / 296.6 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007209/0.0185, allocations: 0.7163 MB / 297.3 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.01851, allocations: 0 / 297.3 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01851, allocations: 0 / 297.3 MB, free: 1.859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.01853, allocations: 3.938 kB / 297.3 MB, free: 1.855 MB / 282.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.00128/0.01981, allocations: 1.13 MB / 298.4 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.01984, allocations: 12.03 kB / 298.4 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00078/0.02062, allocations: 301.7 kB / 298.7 MB, free: 380 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005726/0.02119, allocations: 445 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/0.02124, allocations: 58.38 kB / 299.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.02134, allocations: 84.31 kB / 299.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007915/0.02213, allocations: 0.758 MB / 300 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.02216, allocations: 3.938 kB / 300 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.554e-05/0.02221, allocations: 36 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.455e-05/0.02227, allocations: 45.98 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.02271, allocations: 321.3 kB / 300.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/0.02577, allocations: 4.201 MB / 304.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.02611, allocations: 202.5 kB / 304.8 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.02621, allocations: 77.75 kB / 304.9 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.02624, allocations: 8 kB / 304.9 MB, free: 9.793 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.02627, allocations: 39.25 kB / 305 MB, free: 9.746 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.783e-06/0.02627, allocations: 0 / 305 MB, free: 9.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006873/0.02696, allocations: 469.7 kB / 305.4 MB, free: 9.281 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.027, allocations: 85.05 kB / 305.5 MB, free: 9.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.02722, allocations: 430.7 kB / 305.9 MB, free: 8.746 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.02724, allocations: 29.7 kB / 306 MB, free: 8.711 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.0274, allocations: 443.7 kB / 306.4 MB, free: 8.273 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.332e-05/0.02747, allocations: 158.6 kB / 306.5 MB, free: 8.117 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.02758, allocations: 142.5 kB / 306.7 MB, free: 7.973 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.02768, allocations: 370.6 kB / 307 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.02775, allocations: 73.95 kB / 307.1 MB, free: 7.531 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.02799, allocations: 467.8 kB / 307.6 MB, free: 6.891 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.02843, allocations: 0.6723 MB / 308.2 MB, free: 6.035 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.02843, allocations: 4 kB / 308.2 MB, free: 6.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0004477/0.02888, allocations: 0.5053 MB / 308.8 MB, free: 5.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.0289, allocations: 16.72 kB / 308.8 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.02891, allocations: 12 kB / 308.8 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.02893, allocations: 20 kB / 308.8 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/0.02937, allocations: 233 kB / 309 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.02939, allocations: 28.23 kB / 309.1 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.02957, allocations: 32 kB / 309.1 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.0296, allocations: 36 kB / 309.1 MB, free: 5.152 MB / 298.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.0001385/0.02974, allocations: 172.3 kB / 309.3 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.02979, allocations: 51.89 kB / 309.3 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.0301, allocations: 288.1 kB / 309.6 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.03011, allocations: 4 kB / 309.6 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.03011, allocations: 0 / 309.6 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.03012, allocations: 11.98 kB / 309.6 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007624/0.03088, allocations: 0.8052 MB / 310.4 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.03089, allocations: 4 kB / 310.4 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.03115, allocations: 128 kB / 310.6 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.03119, allocations: 55.61 kB / 310.6 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.0312, allocations: 4 kB / 310.6 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.03121, allocations: 8 kB / 310.6 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.03122, allocations: 15.92 kB / 310.7 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.03122, allocations: 0 / 310.7 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.03149, allocations: 395.5 kB / 311 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.03152, allocations: 11.98 kB / 311 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.03162, allocations: 12 kB / 311.1 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.03166, allocations: 39.81 kB / 311.1 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.03168, allocations: 20 kB / 311.1 MB, free: 3.023 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.03179, allocations: 152.7 kB / 311.3 MB, free: 2.871 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03179, allocations: 4 kB / 311.3 MB, free: 2.867 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003378/0.03212, allocations: 160 kB / 311.4 MB, free: 2.711 MB / 298.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 8.98e-05/0.03221, allocations: 96.28 kB / 311.5 MB, free: 2.609 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.03253, allocations: 363.3 kB / 311.9 MB, free: 2.258 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/0.03255, allocations: 8.5 kB / 311.9 MB, free: 2.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.03269, allocations: 170 kB / 312.1 MB, free: 2.082 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005859/0.03328, allocations: 0.875 MB / 312.9 MB, free: 1.062 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009454/0.04273, allocations: 1.228 MB / 314.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.04287, allocations: 210.1 kB / 314.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.04305, allocations: 81.11 kB / 314.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.04325, allocations: 159.3 kB / 314.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.04325, allocations: 3.938 kB / 314.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of Templates: time 0.007619/0.05087, allocations: 5.535 MB / 320.1 MB, free: 9.875 MB / 314.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8807393442839384]