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.001195/0.001195, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001309/0.001309, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 0.9835/0.9835, allocations: 177.1 MB / 205 MB, free: 5.621 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.2901/0.2901, allocations: 29.43 MB / 290.9 MB, free: 2.5 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.234e-06/2.234e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.101e-05/3.324e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.005335/0.005368, allocations: 5.218 MB / 374.8 MB, free: 5.758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.008232, allocations: 1.76 MB / 376.6 MB, free: 3.992 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003984/0.00863, allocations: 27.75 kB / 376.6 MB, free: 3.965 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009836/0.009614, allocations: 0.5172 MB / 377.2 MB, free: 3.445 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008062/0.01042, allocations: 377.8 kB / 377.5 MB, free: 3.074 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009539/0.01137, allocations: 418.7 kB / 377.9 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.01238, allocations: 0.9391 MB / 378.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005397/0.01292, allocations: 396.2 kB / 379.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007786/0.01369, allocations: 0.5883 MB / 379.8 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.01428, allocations: 0.4909 MB / 380.3 MB, free: 260 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.423e-05/0.01437, allocations: 56 kB / 380.4 MB, free: 204 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004981/0.01486, allocations: 247.6 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003098/0.01517, allocations: 446.8 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.01543, allocations: 295.4 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008592/0.01629, allocations: 0.7747 MB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.01629, allocations: 3.984 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.01629, allocations: 0 / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.01631, allocations: 0 / 382.1 MB, free: 14.45 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.001282/0.01759, allocations: 1.118 MB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.01764, allocations: 15.98 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007624/0.0184, allocations: 288.1 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.01897, allocations: 490.2 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.019, allocations: 62.38 kB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.212e-05/0.01907, allocations: 72.38 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008613/0.01993, allocations: 0.8712 MB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.01996, allocations: 11.88 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/0.02001, allocations: 32 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-05/0.02006, allocations: 53.98 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005802/0.02064, allocations: 427.2 kB / 385.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/0.02428, allocations: 5.877 MB / 391.4 MB, free: 4.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/0.02467, allocations: 253.3 kB / 391.7 MB, free: 4.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.02482, allocations: 111.4 kB / 391.8 MB, free: 4.312 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.02485, allocations: 12.67 kB / 391.8 MB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.02488, allocations: 41.39 kB / 391.8 MB, free: 4.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.535e-06/0.02489, allocations: 0 / 391.8 MB, free: 4.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001131/0.02602, allocations: 0.7607 MB / 392.6 MB, free: 3.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.02606, allocations: 85.11 kB / 392.7 MB, free: 3.379 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/0.02642, allocations: 0.5099 MB / 393.2 MB, free: 2.852 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.02645, allocations: 33.64 kB / 393.2 MB, free: 2.812 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.02668, allocations: 0.5097 MB / 393.7 MB, free: 2.297 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.02679, allocations: 162.6 kB / 393.9 MB, free: 2.137 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.02693, allocations: 160.2 kB / 394 MB, free: 1.969 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.02709, allocations: 0.5391 MB / 394.6 MB, free: 1.418 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.02724, allocations: 109.9 kB / 394.7 MB, free: 1.312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.02765, allocations: 0.6537 MB / 395.3 MB, free: 424 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007164/0.02837, allocations: 0.8501 MB / 396.2 MB, free: 15.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.02838, allocations: 4 kB / 396.2 MB, free: 15.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007955/0.02917, allocations: 0.6894 MB / 396.9 MB, free: 14.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.0292, allocations: 11.94 kB / 396.9 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.02921, allocations: 16 kB / 396.9 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.02924, allocations: 16 kB / 396.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/0.02967, allocations: 211.7 kB / 397.1 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.233e-05/0.02969, allocations: 31.8 kB / 397.2 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.02996, allocations: 59.84 kB / 397.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.03, allocations: 44.16 kB / 397.3 MB, free: 14.23 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.0001953/0.03019, allocations: 220.2 kB / 397.5 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-05/0.03028, allocations: 71.61 kB / 397.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005014/0.03078, allocations: 379.2 kB / 397.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.03079, allocations: 4 kB / 397.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.0308, allocations: 4 kB / 397.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/0.03081, allocations: 7.969 kB / 397.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.03207, allocations: 1.042 MB / 399 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.03208, allocations: 4 kB / 399 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.03232, allocations: 107.8 kB / 399.1 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.03232, allocations: 4 kB / 399.1 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.03235, allocations: 15.98 kB / 399.1 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.03235, allocations: 4 kB / 399.1 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.03236, allocations: 4 kB / 399.1 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005666/0.03292, allocations: 0.5886 MB / 399.7 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-05/0.033, allocations: 47.61 kB / 399.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.03305, allocations: 12 kB / 399.8 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.03317, allocations: 23.97 kB / 399.8 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.03323, allocations: 43.81 kB / 399.8 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.03326, allocations: 12 kB / 399.8 MB, free: 11.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002225/0.03348, allocations: 295 kB / 400.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03348, allocations: 0 / 400.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004975/0.03398, allocations: 160 kB / 400.3 MB, free: 11.06 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.0001265/0.03411, allocations: 107.2 kB / 400.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000535/0.03464, allocations: 423.3 kB / 400.8 MB, free: 10.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.03464, allocations: 0 / 400.8 MB, free: 10.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.03481, allocations: 172.1 kB / 401 MB, free: 10.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.03529, allocations: 117.7 kB / 401.1 MB, free: 10.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.03721, allocations: 1.234 MB / 402.3 MB, free: 8.934 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.03736, allocations: 218 kB / 402.5 MB, free: 8.699 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003096/0.03767, allocations: 184.9 kB / 402.7 MB, free: 8.516 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.03777, allocations: 48.48 kB / 402.8 MB, free: 8.469 MB / 378.7 MB Notification: Performance of SimCode: time 1.333e-06/0.03777, allocations: 0 / 402.8 MB, free: 8.469 MB / 378.7 MB Notification: Performance of Templates: time 0.008585/0.04636, allocations: 5.674 MB / 408.4 MB, free: 2.91 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.13913577189669]