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.002334/0.002334, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001899/0.001899, allocations: 165.3 kB / 24.27 MB, free: 152 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.547/1.547, 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.3341/0.3341, allocations: 29.41 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.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.263e-06/1.263e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.66e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005819/0.005846, allocations: 3.528 MB / 372.4 MB, free: 7.766 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.008517, allocations: 1.438 MB / 373.8 MB, free: 6.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.008694, allocations: 11.94 kB / 373.8 MB, free: 6.309 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009013/0.009595, allocations: 258.9 kB / 374.1 MB, free: 6.055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007001/0.0103, allocations: 282.6 kB / 374.4 MB, free: 5.777 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.01062, allocations: 111.5 kB / 374.5 MB, free: 5.668 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004959/0.01111, allocations: 346.9 kB / 374.8 MB, free: 5.328 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002987/0.01141, allocations: 118.1 kB / 374.9 MB, free: 5.215 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004448/0.01186, allocations: 203.3 kB / 375.1 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.01215, allocations: 151.6 kB / 375.3 MB, free: 4.867 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.01219, allocations: 19.94 kB / 375.3 MB, free: 4.848 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005148/0.0127, allocations: 263.1 kB / 375.6 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.01284, allocations: 107.8 kB / 375.7 MB, free: 4.484 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.01297, allocations: 75.78 kB / 375.7 MB, free: 4.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005755/0.01354, allocations: 355 kB / 376.1 MB, free: 4.062 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.01355, allocations: 3.938 kB / 376.1 MB, free: 4.059 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01355, allocations: 0 / 376.1 MB, free: 4.059 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.01355, allocations: 0 / 376.1 MB, free: 4.059 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.0008173/0.01437, allocations: 0.5614 MB / 376.7 MB, free: 3.461 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.0144, allocations: 11.98 kB / 376.7 MB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008665/0.01527, allocations: 136.6 kB / 376.8 MB, free: 3.316 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.01566, allocations: 204.8 kB / 377 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.01568, allocations: 16.36 kB / 377 MB, free: 3.074 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/0.01573, allocations: 16.38 kB / 377 MB, free: 3.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.01617, allocations: 252.3 kB / 377.3 MB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.01619, allocations: 3.938 kB / 377.3 MB, free: 2.781 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.01622, allocations: 7.984 kB / 377.3 MB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/0.01625, allocations: 19.98 kB / 377.3 MB, free: 2.754 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000334/0.01659, allocations: 143.8 kB / 377.4 MB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.01855, allocations: 1.363 MB / 378.8 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005795/0.01913, allocations: 182.1 kB / 379 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.709e-05/0.01922, allocations: 39.42 kB / 379 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.01925, allocations: 4 kB / 379 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.01929, allocations: 41.39 kB / 379.1 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.01929, allocations: 0 / 379.1 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.000913/0.0202, allocations: 292.4 kB / 379.4 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.02027, allocations: 81.09 kB / 379.4 MB, free: 472 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.02054, allocations: 270.7 kB / 379.7 MB, free: 180 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.02056, allocations: 25.7 kB / 379.7 MB, free: 148 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.02075, allocations: 215 kB / 379.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/0.02081, allocations: 59.66 kB / 380 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.633e-05/0.0209, allocations: 55.36 kB / 380 MB, free: 15.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002837/0.02119, allocations: 0.504 MB / 380.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.02126, allocations: 31.98 kB / 380.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.02148, allocations: 183.1 kB / 380.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.02179, allocations: 226.6 kB / 381 MB, free: 14.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.0218, allocations: 0 / 381 MB, free: 14.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004621/0.02226, allocations: 236.8 kB / 381.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.02227, allocations: 4 kB / 381.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.02228, allocations: 4 kB / 381.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002914/0.02257, allocations: 52.03 kB / 381.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.02272, allocations: 39.92 kB / 381.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.02436, allocations: 1.775 MB / 383.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.02448, allocations: 12.12 kB / 383.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.0245, allocations: 16 kB / 383.1 MB, free: 12.47 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.0001628/0.02467, allocations: 172.5 kB / 383.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.02471, allocations: 15.97 kB / 383.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.0251, allocations: 161.8 kB / 383.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.02511, allocations: 7.938 kB / 383.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.02512, allocations: 0 / 383.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.02512, allocations: 3.984 kB / 383.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009176/0.02604, allocations: 0.5311 MB / 384 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.02604, allocations: 0 / 384 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.466e-05/0.02614, allocations: 19.98 kB / 384 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000163/0.0263, allocations: 35.66 kB / 384.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.02632, allocations: 8 kB / 384.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/0.02784, allocations: 1.767 MB / 385.8 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.02785, allocations: 0 / 385.8 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/0.02831, allocations: 342 kB / 386.2 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.02835, allocations: 19.84 kB / 386.2 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.02837, allocations: 4 kB / 386.2 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.746e-05/0.02847, allocations: 8.125 kB / 386.2 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.02851, allocations: 15.91 kB / 386.2 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.02853, allocations: 12 kB / 386.2 MB, free: 9.117 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001412/0.02867, allocations: 165.1 kB / 386.4 MB, free: 8.957 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02867, allocations: 4 kB / 386.4 MB, free: 8.953 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003518/0.02902, allocations: 52 kB / 386.4 MB, free: 8.902 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.0001302/0.02915, allocations: 91.25 kB / 386.5 MB, free: 8.805 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005389/0.02969, allocations: 307.1 kB / 386.8 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.02969, allocations: 0 / 386.8 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.02999, allocations: 225.4 kB / 387 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.03036, allocations: 38.28 kB / 387.1 MB, free: 8.215 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008173/0.03118, allocations: 414.4 kB / 387.5 MB, free: 7.762 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.03135, allocations: 147.8 kB / 387.6 MB, free: 7.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.03147, allocations: 49.38 kB / 387.7 MB, free: 7.547 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.03151, allocations: 16.5 kB / 387.7 MB, free: 7.531 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.03151, allocations: 0 / 387.7 MB, free: 7.531 MB / 362.7 MB Notification: Performance of Templates: time 0.005643/0.03715, allocations: 1.638 MB / 389.3 MB, free: 5.914 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 240] 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.818045814987272]