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.0007799/0.0007799, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001308/0.002088, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007326/0.0007326, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001019/0.001752, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9762/0.9762, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08881/1.065, allocations: 53.64 MB / 243.3 MB, free: 15.58 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.1448/0.1448, allocations: 29.44 MB / 273.4 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1142/0.259, allocations: 9.527 MB / 283 MB, free: 12.84 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.984e-06/1.984e-06, allocations: 0 / 284.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.283e-05, allocations: 3.844 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.004883/0.004906, allocations: 5.31 MB / 289.5 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.007548, allocations: 1.803 MB / 291.3 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000299/0.007847, allocations: 30.56 kB / 291.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008609/0.008707, allocations: 0.6479 MB / 292 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005902/0.009298, allocations: 418.9 kB / 292.4 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008564/0.01015, allocations: 415.4 kB / 292.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008186/0.01097, allocations: 0.9906 MB / 293.8 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000471/0.01144, allocations: 410.2 kB / 294.2 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009057/0.01235, allocations: 0.6453 MB / 294.9 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000551/0.0129, allocations: 0.4922 MB / 295.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.521e-05/0.01297, allocations: 52 kB / 295.4 MB, free: 3.613 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000448/0.01341, allocations: 255.5 kB / 295.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002661/0.01368, allocations: 427 kB / 296.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.01389, allocations: 247.6 kB / 296.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006327/0.01452, allocations: 0.7202 MB / 297 MB, free: 1.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-05/0.01454, allocations: 0 / 297 MB, free: 1.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01454, allocations: 0 / 297 MB, free: 1.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.04e-05/0.01456, allocations: 4 kB / 297 MB, free: 1.977 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.001188/0.01574, allocations: 1.13 MB / 298.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.01578, allocations: 8.031 kB / 298.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000642/0.01642, allocations: 305.7 kB / 298.5 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.01694, allocations: 448.8 kB / 298.9 MB, free: 32 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.699e-05/0.01699, allocations: 58.45 kB / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.618e-05/0.01706, allocations: 76.27 kB / 299 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006521/0.01772, allocations: 0.758 MB / 299.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.01774, allocations: 7.875 kB / 299.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.01778, allocations: 36 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.026e-05/0.01783, allocations: 49.97 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.01819, allocations: 313.4 kB / 300.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.02085, allocations: 4.201 MB / 304.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.02117, allocations: 206.6 kB / 304.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.784e-05/0.02126, allocations: 77.7 kB / 304.7 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.02129, allocations: 11.98 kB / 304.7 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.02132, allocations: 39.25 kB / 304.7 MB, free: 9.875 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.605e-06/0.02132, allocations: 0 / 304.7 MB, free: 9.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006891/0.02201, allocations: 453.7 kB / 305.2 MB, free: 9.426 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.02205, allocations: 85.05 kB / 305.3 MB, free: 9.324 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.02228, allocations: 430.7 kB / 305.7 MB, free: 8.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.0223, allocations: 33.83 kB / 305.7 MB, free: 8.852 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.02247, allocations: 439.8 kB / 306.1 MB, free: 8.418 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.097e-05/0.02255, allocations: 158.6 kB / 306.3 MB, free: 8.262 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.02267, allocations: 142.5 kB / 306.4 MB, free: 8.117 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.02277, allocations: 366.7 kB / 306.8 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-05/0.02285, allocations: 73.95 kB / 306.9 MB, free: 7.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.02308, allocations: 467.6 kB / 307.3 MB, free: 7.039 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.02349, allocations: 0.6325 MB / 308 MB, free: 6.223 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.0235, allocations: 4 kB / 308 MB, free: 6.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0004477/0.02394, allocations: 0.5062 MB / 308.5 MB, free: 5.707 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.02396, allocations: 15.94 kB / 308.5 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.02398, allocations: 15.98 kB / 308.5 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.024, allocations: 24.06 kB / 308.5 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.02445, allocations: 233.3 kB / 308.7 MB, free: 5.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.02446, allocations: 23.94 kB / 308.8 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.02465, allocations: 28 kB / 308.8 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.02468, allocations: 39.98 kB / 308.8 MB, free: 5.336 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.0001341/0.02482, allocations: 172.3 kB / 309 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.02487, allocations: 51.89 kB / 309.1 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/0.02518, allocations: 296 kB / 309.3 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.02519, allocations: 4 kB / 309.3 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.02519, allocations: 0 / 309.3 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.0252, allocations: 7.984 kB / 309.4 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007951/0.02599, allocations: 0.8014 MB / 310.2 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.026, allocations: 4 kB / 310.2 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.02627, allocations: 128.4 kB / 310.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.02632, allocations: 55.59 kB / 310.3 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.02632, allocations: 4 kB / 310.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.02634, allocations: 16 kB / 310.4 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.02635, allocations: 7.938 kB / 310.4 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.02635, allocations: 160 / 310.4 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.02662, allocations: 403.5 kB / 310.8 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.02666, allocations: 12 kB / 310.8 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.02676, allocations: 8 kB / 310.8 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.0268, allocations: 47.75 kB / 310.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.02682, allocations: 15.98 kB / 310.8 MB, free: 3.207 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.735e-05/0.02691, allocations: 156.7 kB / 311 MB, free: 3.051 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02691, allocations: 0 / 311 MB, free: 3.051 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003659/0.02728, allocations: 164 kB / 311.2 MB, free: 2.891 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 9.725e-05/0.02738, allocations: 96.23 kB / 311.3 MB, free: 2.789 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003178/0.02769, allocations: 348.8 kB / 311.6 MB, free: 2.449 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.849e-05/0.02771, allocations: 8.5 kB / 311.6 MB, free: 2.441 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.02782, allocations: 137.3 kB / 311.7 MB, free: 2.301 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.02823, allocations: 178.8 kB / 311.9 MB, free: 2.137 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009793/0.03802, allocations: 1.234 MB / 313.1 MB, free: 0.832 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.03818, allocations: 214.1 kB / 313.4 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002925/0.03847, allocations: 77.12 kB / 313.4 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.03869, allocations: 155.3 kB / 313.6 MB, free: 380 kB / 298.7 MB Notification: Performance of SimCode: time 2.175e-06/0.03869, allocations: 0 / 313.6 MB, free: 380 kB / 298.7 MB Notification: Performance of Templates: time 0.008347/0.04704, allocations: 6.05 MB / 319.6 MB, free: 10.43 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9354900987818837]