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.001395/0.001395, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001452/0.001452, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.503/1.503, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3136/0.3136, allocations: 29.42 MB / 290.5 MB, free: 2.426 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.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.514e-05/3.738e-05, allocations: 5.688 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.009131/0.009168, allocations: 5.799 MB / 374.7 MB, free: 5.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003765/0.01293, allocations: 1.877 MB / 376.5 MB, free: 3.598 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003716/0.0133, allocations: 31.75 kB / 376.6 MB, free: 3.566 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.01533, allocations: 0.6806 MB / 377.3 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.01635, allocations: 397.7 kB / 377.6 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.01757, allocations: 414.7 kB / 378.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.01911, allocations: 0.9509 MB / 379 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006968/0.01981, allocations: 400.3 kB / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.02084, allocations: 0.5724 MB / 380 MB, free: 172 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008811/0.02172, allocations: 0.5027 MB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.02186, allocations: 56 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000688/0.02255, allocations: 243.5 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006654/0.02321, allocations: 442.9 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008318/0.02405, allocations: 307.3 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.02586, allocations: 1.04 MB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.02586, allocations: 0 / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.02587, allocations: 0 / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.72e-05/0.02591, allocations: 0 / 382.5 MB, free: 13.59 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.002396/0.02831, allocations: 1.011 MB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.02835, allocations: 15.98 kB / 383.6 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.02963, allocations: 296 kB / 383.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.03064, allocations: 0.5052 MB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.355e-05/0.03071, allocations: 62.38 kB / 384.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.03084, allocations: 76.38 kB / 384.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.03292, allocations: 1.126 MB / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.03295, allocations: 15.81 kB / 385.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.982e-05/0.03303, allocations: 32 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.962e-05/0.03311, allocations: 53.98 kB / 385.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.03456, allocations: 0.8584 MB / 386.6 MB, free: 9.383 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005877/0.04044, allocations: 4.713 MB / 391.3 MB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007341/0.04117, allocations: 391.7 kB / 391.7 MB, free: 4.059 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.0415, allocations: 189.7 kB / 391.9 MB, free: 3.867 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.406e-05/0.04154, allocations: 16.69 kB / 391.9 MB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.04159, allocations: 38.5 kB / 391.9 MB, free: 3.805 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.933e-06/0.04159, allocations: 0 / 391.9 MB, free: 3.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.002256/0.04384, allocations: 1.104 MB / 393 MB, free: 2.691 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.04391, allocations: 81.11 kB / 393.1 MB, free: 2.594 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005753/0.04449, allocations: 0.4897 MB / 393.6 MB, free: 2.094 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.04453, allocations: 29.7 kB / 393.6 MB, free: 2.059 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/0.04489, allocations: 467.2 kB / 394.1 MB, free: 1.598 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.04504, allocations: 166.6 kB / 394.2 MB, free: 1.434 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.04526, allocations: 150.7 kB / 394.4 MB, free: 1.277 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002234/0.04548, allocations: 366.8 kB / 394.7 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.04586, allocations: 237.8 kB / 395 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000759/0.04662, allocations: 0.6168 MB / 395.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.04788, allocations: 0.9379 MB / 396.5 MB, free: 14.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.04788, allocations: 4 kB / 396.5 MB, free: 14.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001469/0.04935, allocations: 0.9348 MB / 397.5 MB, free: 13.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.04938, allocations: 11.94 kB / 397.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.0494, allocations: 19.98 kB / 397.5 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.641e-05/0.04943, allocations: 16.72 kB / 397.5 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007355/0.05017, allocations: 223.6 kB / 397.7 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.859e-05/0.0502, allocations: 23.92 kB / 397.7 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/0.05061, allocations: 51.95 kB / 397.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/0.05067, allocations: 40 kB / 397.8 MB, free: 13.44 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.000383/0.05106, allocations: 305.4 kB / 398.1 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.05118, allocations: 75.56 kB / 398.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.05218, allocations: 0.5537 MB / 398.8 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.05219, allocations: 8 kB / 398.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.0522, allocations: 8 kB / 398.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.05221, allocations: 3.984 kB / 398.8 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.05454, allocations: 1.157 MB / 399.9 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.05454, allocations: 4 kB / 399.9 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.05498, allocations: 108.1 kB / 400 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.05499, allocations: 8 kB / 400.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.05502, allocations: 8 kB / 400.1 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.05502, allocations: 8 kB / 400.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.05503, allocations: 3.938 kB / 400.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000945/0.05598, allocations: 0.6671 MB / 400.7 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.535e-05/0.05606, allocations: 51.61 kB / 400.8 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.05613, allocations: 12 kB / 400.8 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.05639, allocations: 23.98 kB / 400.8 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/0.05647, allocations: 35.88 kB / 400.9 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.0565, allocations: 19.98 kB / 400.9 MB, free: 10.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003574/0.05685, allocations: 311.1 kB / 401.2 MB, free: 9.961 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05686, allocations: 0 / 401.2 MB, free: 9.961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006664/0.05752, allocations: 160 kB / 401.3 MB, free: 9.805 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.0001417/0.05766, allocations: 111.1 kB / 401.5 MB, free: 9.688 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009493/0.05861, allocations: 0.5808 MB / 402 MB, free: 9.109 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.05861, allocations: 0 / 402 MB, free: 9.109 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003375/0.05895, allocations: 216.8 kB / 402.2 MB, free: 8.898 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006923/0.05964, allocations: 127.8 kB / 402.4 MB, free: 8.785 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.06211, allocations: 1.373 MB / 403.7 MB, free: 7.348 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.06263, allocations: 406.8 kB / 404.1 MB, free: 6.926 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000525/0.06315, allocations: 216.9 kB / 404.4 MB, free: 6.711 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.0633, allocations: 56.48 kB / 404.4 MB, free: 6.656 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0633, allocations: 0 / 404.4 MB, free: 6.656 MB / 378.7 MB Notification: Performance of Templates: time 0.01185/0.07515, allocations: 5.426 MB / 409.8 MB, free: 1.34 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Units_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Units.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.851107554975897]