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.0009819/0.0009819, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001206/0.001206, allocations: 165 kB / 24.56 MB, free: 16 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.9867/0.9867, allocations: 177.2 MB / 205 MB, free: 5.293 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.251/0.251, allocations: 29.42 MB / 290.9 MB, free: 2.469 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.464e-06/2.464e-06, allocations: 0 / 369.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.902e-05, allocations: 4.844 kB / 369.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.005018/0.005047, allocations: 5.097 MB / 374.7 MB, free: 5.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002784/0.007832, allocations: 1.947 MB / 376.7 MB, free: 3.965 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003994/0.008231, allocations: 35.75 kB / 376.7 MB, free: 3.93 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006863/0.008917, allocations: 198.8 kB / 376.9 MB, free: 3.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006859/0.009603, allocations: 385.8 kB / 377.3 MB, free: 3.355 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009161/0.01052, allocations: 418.7 kB / 377.7 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009626/0.01148, allocations: 0.9586 MB / 378.6 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005736/0.01206, allocations: 392.3 kB / 379 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007477/0.0128, allocations: 0.5533 MB / 379.6 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006003/0.0134, allocations: 0.5065 MB / 380.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.577e-05/0.01349, allocations: 63.98 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004626/0.01395, allocations: 251.5 kB / 380.4 MB, free: 236 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003594/0.01431, allocations: 446.9 kB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002877/0.0146, allocations: 299.3 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009739/0.01557, allocations: 0.7825 MB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.01558, allocations: 0 / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01558, allocations: 0 / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.679e-05/0.01561, allocations: 0 / 381.9 MB, free: 14.71 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.001427/0.01703, allocations: 1.126 MB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.01707, allocations: 11.98 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007501/0.01782, allocations: 292.1 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009272/0.01875, allocations: 0.5002 MB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.01879, allocations: 54.38 kB / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.354e-05/0.01887, allocations: 80.36 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.01989, allocations: 0.8673 MB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.01992, allocations: 11.88 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-05/0.01997, allocations: 35.98 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.813e-05/0.02003, allocations: 45.98 kB / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006413/0.02067, allocations: 427.2 kB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003792/0.02446, allocations: 5.877 MB / 391.2 MB, free: 4.945 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.02484, allocations: 246.6 kB / 391.4 MB, free: 4.676 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.02497, allocations: 115.3 kB / 391.6 MB, free: 4.555 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.02501, allocations: 8.688 kB / 391.6 MB, free: 4.547 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.02504, allocations: 41.39 kB / 391.6 MB, free: 4.496 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.405e-06/0.02504, allocations: 4 kB / 391.6 MB, free: 4.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001094/0.02613, allocations: 0.7645 MB / 392.4 MB, free: 3.719 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.02617, allocations: 85.11 kB / 392.5 MB, free: 3.617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.02653, allocations: 0.5061 MB / 393 MB, free: 3.094 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.02655, allocations: 29.7 kB / 393 MB, free: 3.059 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.02679, allocations: 0.5097 MB / 393.5 MB, free: 2.543 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.341e-05/0.02688, allocations: 170.6 kB / 393.7 MB, free: 2.375 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.02702, allocations: 160.2 kB / 393.8 MB, free: 2.207 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.02717, allocations: 0.543 MB / 394.4 MB, free: 1.652 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.02731, allocations: 106 kB / 394.5 MB, free: 1.551 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.02769, allocations: 0.6576 MB / 395.1 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006173/0.02831, allocations: 0.846 MB / 396 MB, free: 15.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.02832, allocations: 4 kB / 396 MB, free: 15.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007216/0.02904, allocations: 0.6813 MB / 396.7 MB, free: 14.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.02906, allocations: 19.88 kB / 396.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.02908, allocations: 12 kB / 396.7 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.0291, allocations: 20 kB / 396.7 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.02948, allocations: 215.7 kB / 396.9 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/0.0295, allocations: 28.31 kB / 396.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.02974, allocations: 59.91 kB / 397 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.02979, allocations: 44 kB / 397.1 MB, free: 14.47 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.0001567/0.02994, allocations: 220.2 kB / 397.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/0.03001, allocations: 71.61 kB / 397.3 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006092/0.03062, allocations: 375.2 kB / 397.7 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.03063, allocations: 7.984 kB / 397.7 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.03063, allocations: 0 / 397.7 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.03064, allocations: 4 kB / 397.7 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.03172, allocations: 1.046 MB / 398.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.03172, allocations: 0 / 398.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.03195, allocations: 111.9 kB / 398.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.03195, allocations: 8 kB / 398.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.03197, allocations: 11.94 kB / 398.9 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.03198, allocations: 8.25 kB / 398.9 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.03198, allocations: 4 kB / 398.9 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004546/0.03244, allocations: 0.5844 MB / 399.5 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.03249, allocations: 47.67 kB / 399.5 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/0.03253, allocations: 11.98 kB / 399.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.03266, allocations: 19.98 kB / 399.6 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.03271, allocations: 39.88 kB / 399.6 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.03273, allocations: 19.94 kB / 399.6 MB, free: 11.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001865/0.03292, allocations: 291 kB / 399.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03292, allocations: 7.938 kB / 399.9 MB, free: 11.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004383/0.03336, allocations: 160 kB / 400.1 MB, free: 11.3 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.0001016/0.03346, allocations: 103.2 kB / 400.2 MB, free: 11.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004908/0.03395, allocations: 426.5 kB / 400.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.03395, allocations: 0 / 400.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.03411, allocations: 162 kB / 400.7 MB, free: 10.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.03458, allocations: 120.9 kB / 400.9 MB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.03629, allocations: 1.242 MB / 402.1 MB, free: 9.176 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.03642, allocations: 214 kB / 402.3 MB, free: 8.945 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002945/0.03672, allocations: 192.9 kB / 402.5 MB, free: 8.758 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.03682, allocations: 48.5 kB / 402.5 MB, free: 8.711 MB / 378.7 MB Notification: Performance of SimCode: time 9.41e-07/0.03682, allocations: 0 / 402.5 MB, free: 8.711 MB / 378.7 MB Notification: Performance of Templates: time 0.008285/0.0451, allocations: 5.442 MB / 408 MB, free: 3.383 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.152065373957157]