Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.001937/0.001937, 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.002399/0.002399, 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.532/1.532, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.2954/0.2954, allocations: 29.42 MB / 290.5 MB, free: 2.43 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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.303e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005302/0.005325, allocations: 3.415 MB / 372.3 MB, free: 7.871 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.008033, allocations: 1.372 MB / 373.7 MB, free: 6.492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.008147, allocations: 7.938 kB / 373.7 MB, free: 6.484 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008571/0.009004, allocations: 258.9 kB / 373.9 MB, free: 6.23 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006601/0.009664, allocations: 278.6 kB / 374.2 MB, free: 5.957 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.009966, allocations: 115.5 kB / 374.3 MB, free: 5.844 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004563/0.01042, allocations: 335 kB / 374.6 MB, free: 5.516 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002833/0.01071, allocations: 114.1 kB / 374.8 MB, free: 5.406 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003916/0.0111, allocations: 211.3 kB / 375 MB, free: 5.199 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/0.01137, allocations: 147.5 kB / 375.1 MB, free: 5.055 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.0114, allocations: 16 kB / 375.1 MB, free: 5.039 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004638/0.01187, allocations: 271 kB / 375.4 MB, free: 4.773 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.012, allocations: 111.7 kB / 375.5 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.01212, allocations: 67.84 kB / 375.6 MB, free: 4.598 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005395/0.01266, allocations: 351 kB / 375.9 MB, free: 4.254 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.01267, allocations: 0 / 375.9 MB, free: 4.254 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01267, allocations: 0 / 375.9 MB, free: 4.254 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.01267, allocations: 4 kB / 375.9 MB, free: 4.25 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008394/0.01351, allocations: 456.9 kB / 376.4 MB, free: 3.773 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.01355, allocations: 15.98 kB / 376.4 MB, free: 3.758 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009281/0.01448, allocations: 136.6 kB / 376.5 MB, free: 3.625 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.01485, allocations: 209.9 kB / 376.7 MB, free: 3.395 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.01487, allocations: 12.38 kB / 376.7 MB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/0.01492, allocations: 20.38 kB / 376.7 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.01547, allocations: 327.2 kB / 377.1 MB, free: 3.023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.01549, allocations: 3.938 kB / 377.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.01552, allocations: 4 kB / 377.1 MB, free: 3.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.545e-05/0.01555, allocations: 16 kB / 377.1 MB, free: 3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.01605, allocations: 283.8 kB / 377.4 MB, free: 2.723 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.01804, allocations: 1.178 MB / 378.5 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006745/0.01871, allocations: 201.1 kB / 378.7 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.01883, allocations: 57.75 kB / 378.8 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.01886, allocations: 4 kB / 378.8 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.0189, allocations: 34.55 kB / 378.8 MB, free: 1.141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.254e-06/0.0189, allocations: 0 / 378.8 MB, free: 1.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.00113/0.02003, allocations: 365.1 kB / 379.2 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.02011, allocations: 85.11 kB / 379.3 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.02034, allocations: 195.4 kB / 379.5 MB, free: 480 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.02037, allocations: 29.7 kB / 379.5 MB, free: 444 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.02075, allocations: 164.4 kB / 379.6 MB, free: 276 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.0208, allocations: 51.62 kB / 379.7 MB, free: 224 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.822e-05/0.02088, allocations: 49.59 kB / 379.7 MB, free: 168 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.02109, allocations: 326.8 kB / 380.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.662e-05/0.02118, allocations: 47.97 kB / 380.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.02139, allocations: 156.7 kB / 380.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.02173, allocations: 228.6 kB / 380.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.02173, allocations: 4 kB / 380.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005285/0.02226, allocations: 274 kB / 380.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.02228, allocations: 4 kB / 380.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.02229, allocations: 8.375 kB / 380.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002873/0.02257, allocations: 48.83 kB / 380.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.02272, allocations: 39.92 kB / 380.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.02421, allocations: 1.323 MB / 382.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.02433, allocations: 12.06 kB / 382.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.02436, allocations: 8 kB / 382.2 MB, free: 13.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001861/0.02454, allocations: 157.7 kB / 382.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.0246, allocations: 23.91 kB / 382.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/0.02502, allocations: 179.9 kB / 382.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.02502, allocations: 3.938 kB / 382.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.02503, allocations: 4 kB / 382.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.02503, allocations: 64 / 382.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009038/0.02593, allocations: 493.3 kB / 383 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.02594, allocations: 0 / 383 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.75e-05/0.02603, allocations: 27.92 kB / 383.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001608/0.0262, allocations: 28.83 kB / 383.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.02621, allocations: 8 kB / 383.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.02751, allocations: 1.299 MB / 384.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.02751, allocations: 7.969 kB / 384.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.02797, allocations: 303.5 kB / 384.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.02801, allocations: 15.84 kB / 384.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.02803, allocations: 8.156 kB / 384.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.02815, allocations: 4 kB / 384.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.02819, allocations: 15.97 kB / 384.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.0282, allocations: 8 kB / 384.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.02834, allocations: 129.2 kB / 384.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02834, allocations: 3.938 kB / 384.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.02871, allocations: 52 kB / 384.9 MB, free: 10.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001416/0.02885, allocations: 98.75 kB / 385 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005471/0.02939, allocations: 268.6 kB / 385.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.0294, allocations: 0 / 385.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.02965, allocations: 170.5 kB / 385.5 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.03005, allocations: 43.5 kB / 385.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008876/0.03094, allocations: 436.3 kB / 385.9 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.03114, allocations: 155.8 kB / 386.1 MB, free: 9.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000116/0.03126, allocations: 41.45 kB / 386.1 MB, free: 9.277 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.03132, allocations: 16.5 kB / 386.1 MB, free: 9.262 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.03132, allocations: 0 / 386.1 MB, free: 9.262 MB / 362.7 MB Notification: Performance of Templates: time 0.005898/0.03722, allocations: 1.636 MB / 387.8 MB, free: 7.645 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.825138435000554]