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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 103.3 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 196.7 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1811/0.1811, allocations: 38.52 MB / 345 MB, free: 2.684 MB / 270.1 MB [Timeout remaining time 90] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,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=502,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 0.00193/0.00193, allocations: 67.89 kB / 482.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3236, allocations: 61.24 MB / 0.5309 GB, free: 5.488 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004403/0.328, allocations: 3.502 MB / 0.5344 GB, free: 3.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.3297, allocations: 1.456 MB / 0.5358 GB, free: 2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.3298, allocations: 10.06 kB / 0.5358 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007773/0.3306, allocations: 263.2 kB / 0.536 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000618/0.3312, allocations: 278.6 kB / 0.5363 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.3315, allocations: 113.6 kB / 0.5364 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.3319, allocations: 345.5 kB / 0.5367 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.3321, allocations: 110 kB / 0.5369 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.3323, allocations: 154.6 kB / 0.537 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.3325, allocations: 165.4 kB / 0.5372 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.3325, allocations: 15.12 kB / 0.5372 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000474/0.333, allocations: 321.5 kB / 0.5375 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.485e-05/0.3331, allocations: 98.02 kB / 0.5376 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.3332, allocations: 108.7 kB / 0.5377 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.3336, allocations: 346.4 kB / 0.538 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3336, allocations: 1.375 kB / 0.538 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3336, allocations: 0 / 0.538 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.3336, allocations: 0 / 0.538 GB, free: 0.6992 MB / 382.1 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.0005627/0.3342, allocations: 0.5205 MB / 0.5385 GB, free: 208 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.3342, allocations: 9.5 kB / 0.5385 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008/0.335, allocations: 95.34 kB / 0.5386 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.3354, allocations: 265.2 kB / 0.5389 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.3354, allocations: 14.69 kB / 0.5389 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.035e-05/0.3354, allocations: 23.17 kB / 0.5389 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/0.3359, allocations: 313.2 kB / 0.5392 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.3359, allocations: 0 / 0.5392 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.336, allocations: 10.88 kB / 0.5392 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/0.336, allocations: 13.03 kB / 0.5392 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.3364, allocations: 287.8 kB / 0.5395 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.3382, allocations: 1.3 MB / 0.5408 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005807/0.3388, allocations: 206.6 kB / 0.541 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.798e-05/0.3389, allocations: 56.47 kB / 0.541 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.3389, allocations: 6.375 kB / 0.541 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.3389, allocations: 39.88 kB / 0.5411 GB, free: 14.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/0.3389, allocations: 3.938 kB / 0.5411 GB, free: 14.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001019/0.34, allocations: 427.2 kB / 0.5415 GB, free: 13.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.34, allocations: 82.42 kB / 0.5416 GB, free: 13.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.3402, allocations: 195.8 kB / 0.5417 GB, free: 13.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3402, allocations: 27.23 kB / 0.5418 GB, free: 13.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.3404, allocations: 167.7 kB / 0.5419 GB, free: 13.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.3404, allocations: 50.58 kB / 0.542 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.138e-05/0.3405, allocations: 49.2 kB / 0.542 GB, free: 13.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3407, allocations: 331.3 kB / 0.5423 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.437e-05/0.3408, allocations: 48.78 kB / 0.5424 GB, free: 12.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.3409, allocations: 154.8 kB / 0.5425 GB, free: 12.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.3412, allocations: 231.2 kB / 0.5428 GB, free: 12.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3412, allocations: 64 / 0.5428 GB, free: 12.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004517/0.3417, allocations: 265.9 kB / 0.543 GB, free: 12.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3417, allocations: 5.938 kB / 0.543 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.3417, allocations: 7.219 kB / 0.543 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/0.3419, allocations: 38.36 kB / 0.5431 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.3421, allocations: 40.02 kB / 0.5431 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.3434, allocations: 1.442 MB / 0.5445 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.3436, allocations: 5 kB / 0.5445 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.3436, allocations: 17 kB / 0.5445 GB, free: 10.97 MB / 398.1 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.0001659/0.3438, allocations: 157.1 kB / 0.5447 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.522e-05/0.3438, allocations: 20.72 kB / 0.5447 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004036/0.3442, allocations: 193 kB / 0.5449 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3442, allocations: 1.25 kB / 0.5449 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3442, allocations: 1.156 kB / 0.5449 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3442, allocations: 5.094 kB / 0.5449 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008649/0.3451, allocations: 0.5567 MB / 0.5454 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3451, allocations: 0 / 0.5454 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.366e-05/0.3452, allocations: 20.02 kB / 0.5454 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001469/0.3453, allocations: 38.86 kB / 0.5455 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.3453, allocations: 6.312 kB / 0.5455 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.3465, allocations: 1.423 MB / 0.5469 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3466, allocations: 9.062 kB / 0.5469 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.347, allocations: 302.9 kB / 0.5472 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.403e-05/0.347, allocations: 91.95 kB / 0.5473 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.3471, allocations: 6.438 kB / 0.5473 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3472, allocations: 10.36 kB / 0.5473 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.3472, allocations: 16.89 kB / 0.5473 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.3472, allocations: 9.531 kB / 0.5473 GB, free: 8.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.3474, allocations: 139.8 kB / 0.5474 GB, free: 8.207 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3474, allocations: 1.219 kB / 0.5474 GB, free: 8.207 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004/0.3478, allocations: 52.22 kB / 0.5475 GB, free: 8.199 MB / 398.1 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.0001347/0.3479, allocations: 100.9 kB / 0.5476 GB, free: 8.102 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005147/0.3484, allocations: 268.7 kB / 0.5478 GB, free: 7.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3484, allocations: 0 / 0.5478 GB, free: 7.914 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.3487, allocations: 175.9 kB / 0.548 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.349, allocations: 36.83 kB / 0.548 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008606/0.3499, allocations: 491.4 kB / 0.5485 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.3503, allocations: 0.7651 MB / 0.5493 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.3503, allocations: 22.94 kB / 0.5493 GB, free: 6.633 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3503, allocations: 0 / 0.5493 GB, free: 6.633 MB / 398.1 MB Notification: Performance of Templates: time 0.005784/0.3561, allocations: 3.192 MB / 0.5524 GB, free: 4.973 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins1/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