Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.0008589/0.0008589, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0008957/0.0008957, allocations: 165 kB / 24.56 MB, free: 12 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.9709/0.9709, allocations: 177.1 MB / 205 MB, free: 5.613 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.2247/0.2247, allocations: 29.42 MB / 290.9 MB, free: 2.496 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|line.i.[0-9,]+.|line.p.[0-9,]+.|line.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|line.i.[0-9,]+.|line.p.[0-9,]+.|line.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.078e-05, allocations: 5.547 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.003619/0.003639, allocations: 3.503 MB / 373.2 MB, free: 7.469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.005009, allocations: 1.235 MB / 374.4 MB, free: 6.227 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.005131, allocations: 11.88 kB / 374.4 MB, free: 6.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004044/0.005536, allocations: 215 kB / 374.6 MB, free: 6.004 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004314/0.005967, allocations: 274.7 kB / 374.9 MB, free: 5.734 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.006215, allocations: 131.5 kB / 375 MB, free: 5.605 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000302/0.006517, allocations: 342.9 kB / 375.3 MB, free: 5.27 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.006686, allocations: 126 kB / 375.5 MB, free: 5.148 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.006912, allocations: 199.4 kB / 375.7 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.007113, allocations: 155.5 kB / 375.8 MB, free: 4.801 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.00713, allocations: 12 kB / 375.8 MB, free: 4.789 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.007436, allocations: 279.1 kB / 376.1 MB, free: 4.516 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.814e-05/0.007514, allocations: 111.7 kB / 376.2 MB, free: 4.406 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.096e-05/0.007575, allocations: 75.83 kB / 376.3 MB, free: 4.332 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.007929, allocations: 319 kB / 376.6 MB, free: 4.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.007931, allocations: 0 / 376.6 MB, free: 4.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.007932, allocations: 0 / 376.6 MB, free: 4.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.007936, allocations: 0 / 376.6 MB, free: 4.02 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.0003995/0.008336, allocations: 0.5461 MB / 377.1 MB, free: 3.438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.399e-05/0.00836, allocations: 11.98 kB / 377.1 MB, free: 3.426 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004984/0.008858, allocations: 148.6 kB / 377.3 MB, free: 3.281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.009055, allocations: 220.2 kB / 377.5 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.009068, allocations: 16.36 kB / 377.5 MB, free: 3.023 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.009093, allocations: 20.31 kB / 377.5 MB, free: 3.004 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.009331, allocations: 231.7 kB / 377.8 MB, free: 2.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.009339, allocations: 192 / 377.8 MB, free: 2.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.009354, allocations: 8.375 kB / 377.8 MB, free: 2.742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.009378, allocations: 23.86 kB / 377.8 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.009558, allocations: 131.8 kB / 377.9 MB, free: 2.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009915/0.01055, allocations: 1.265 MB / 379.2 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.0107, allocations: 114 kB / 379.3 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.378e-05/0.01076, allocations: 55.42 kB / 379.4 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.01078, allocations: 7.984 kB / 379.4 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.0108, allocations: 37.39 kB / 379.4 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.0108, allocations: 0 / 379.4 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007391/0.01154, allocations: 424.4 kB / 379.8 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.01157, allocations: 85.17 kB / 379.9 MB, free: 476 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.01168, allocations: 237.8 kB / 380.1 MB, free: 220 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.0117, allocations: 29.7 kB / 380.2 MB, free: 184 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.912e-05/0.01178, allocations: 203.2 kB / 380.4 MB, free: 15.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.01181, allocations: 63.44 kB / 380.4 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.01186, allocations: 51.36 kB / 380.5 MB, free: 15.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.01197, allocations: 0.5038 MB / 381 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.201e-05/0.01202, allocations: 35.97 kB / 381 MB, free: 15.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.383e-05/0.01211, allocations: 136.7 kB / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.01227, allocations: 191.7 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.01227, allocations: 0 / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002943/0.01257, allocations: 252.8 kB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.01258, allocations: 4 kB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01258, allocations: 4 kB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/0.01282, allocations: 83.61 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-05/0.0129, allocations: 47.91 kB / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.01445, allocations: 2.277 MB / 384 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.01452, allocations: 8 kB / 384 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.01454, allocations: 20.02 kB / 384 MB, free: 12.08 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (21): * Single equations (assignments): 20 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 7.601e-05/0.01461, allocations: 164.5 kB / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.01464, allocations: 31.8 kB / 384.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.01492, allocations: 214.9 kB / 384.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.01492, allocations: 48 / 384.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01493, allocations: 3.984 kB / 384.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.01493, allocations: 11.92 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.01548, allocations: 0.5882 MB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01549, allocations: 0 / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.267e-05/0.01554, allocations: 23.98 kB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001681/0.01571, allocations: 83.61 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.01572, allocations: 4.062 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009988/0.01672, allocations: 2.168 MB / 387.3 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.01672, allocations: 11.88 kB / 387.3 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.01701, allocations: 382.2 kB / 387.7 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.01716, allocations: 15.86 kB / 387.7 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.01717, allocations: 4 kB / 387.7 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.164e-05/0.01723, allocations: 11.98 kB / 387.7 MB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.01726, allocations: 15.97 kB / 387.7 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.01727, allocations: 11.94 kB / 387.7 MB, free: 8.117 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.058e-05/0.01734, allocations: 155.2 kB / 387.9 MB, free: 7.965 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01734, allocations: 8.031 kB / 387.9 MB, free: 7.957 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002639/0.0176, allocations: 64 kB / 388 MB, free: 7.895 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 14 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 6.913e-05/0.01767, allocations: 107.1 kB / 388.1 MB, free: 7.781 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003604/0.01803, allocations: 353.6 kB / 388.4 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01803, allocations: 0 / 388.4 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.01822, allocations: 273.3 kB / 388.7 MB, free: 7.125 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.01844, allocations: 39.67 kB / 388.7 MB, free: 7.094 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000898/0.01934, allocations: 462.1 kB / 389.2 MB, free: 6.602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.653e-05/0.01939, allocations: 100.3 kB / 389.3 MB, free: 6.484 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.078e-05/0.01945, allocations: 33.66 kB / 389.3 MB, free: 6.449 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.01949, allocations: 24.48 kB / 389.3 MB, free: 6.426 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01949, allocations: 0 / 389.3 MB, free: 6.426 MB / 362.7 MB Notification: Performance of Templates: time 0.004336/0.02382, allocations: 2.964 MB / 392.3 MB, free: 3.492 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,line.i[1],line.i[2],line.p[1],line.p[2],line.v[1],line.v[2] Variables in the result:line.L,line.R,line.i[1],line.i[2],line.i_start[1],line.i_start[2],line.p[1],line.p[2],line.v[1],line.v[2],line.v_start[1],line.v_start[2],load.P,load.phi,load.v_start[1],load.v_start[2],source.V,source.definiteReference,source.potentialReference,system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time filterSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff.mat", vars={"line.v[1]", "line.p[2]", "line.p[1]"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff.ref.mat", vars={"line.v[1]", "line.p[2]", "line.p[1]"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.0444364277645946]