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.0009866/0.0009866, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001122/0.001122, allocations: 169.4 kB / 24.91 MB, free: 8.754 MB / 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.138/1.138, allocations: 177.1 MB / 205.3 MB, free: 5.051 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.2664/0.2664, allocations: 29.41 MB / 291.2 MB, free: 2.406 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.903e-06/1.903e-06, allocations: 0 / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.218e-05/3.408e-05, allocations: 2.312 kB / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.00578/0.005814, allocations: 3.534 MB / 320.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.007893, allocations: 1.251 MB / 321.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.008037, allocations: 11.88 kB / 321.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007416/0.008779, allocations: 199.1 kB / 321.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006089/0.009388, allocations: 278.6 kB / 322.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.009693, allocations: 123.5 kB / 322.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.0101, allocations: 355.1 kB / 322.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.01036, allocations: 127.3 kB / 322.7 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003772/0.01074, allocations: 215.3 kB / 322.9 MB, free: 9.871 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.01102, allocations: 139.5 kB / 323.1 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.01105, allocations: 16 kB / 323.1 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.01146, allocations: 275.2 kB / 323.4 MB, free: 9.449 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.01158, allocations: 103.8 kB / 323.5 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.923e-05/0.01168, allocations: 83.7 kB / 323.6 MB, free: 9.266 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004367/0.01212, allocations: 311.1 kB / 323.9 MB, free: 8.961 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.01212, allocations: 0 / 323.9 MB, free: 8.961 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01212, allocations: 4 kB / 323.9 MB, free: 8.957 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.01213, allocations: 0 / 323.9 MB, free: 8.957 MB / 298.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.0005836/0.01271, allocations: 431.1 kB / 324.3 MB, free: 8.512 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.01275, allocations: 15.97 kB / 324.3 MB, free: 8.496 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009268/0.01368, allocations: 144.7 kB / 324.4 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.01397, allocations: 205.3 kB / 324.6 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.01399, allocations: 20.36 kB / 324.7 MB, free: 8.109 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.01403, allocations: 16.38 kB / 324.7 MB, free: 8.094 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.01433, allocations: 213.9 kB / 324.9 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.01434, allocations: 192 / 324.9 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.01437, allocations: 8.375 kB / 324.9 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.718e-05/0.0144, allocations: 19.92 kB / 324.9 MB, free: 7.836 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.01461, allocations: 98.69 kB / 325 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009521/0.01556, allocations: 0.9103 MB / 325.9 MB, free: 6.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.01569, allocations: 130.1 kB / 326 MB, free: 6.629 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.613e-05/0.01573, allocations: 37.78 kB / 326.1 MB, free: 6.586 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.01575, allocations: 4 kB / 326.1 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.01578, allocations: 42.48 kB / 326.1 MB, free: 6.531 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.01578, allocations: 4 kB / 326.1 MB, free: 6.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.000626/0.0164, allocations: 297.6 kB / 326.4 MB, free: 6.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.01644, allocations: 77.11 kB / 326.5 MB, free: 6.137 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.349e-05/0.01653, allocations: 186.6 kB / 326.7 MB, free: 5.941 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.01654, allocations: 25.7 kB / 326.7 MB, free: 5.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.0166, allocations: 152.3 kB / 326.9 MB, free: 5.758 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.01663, allocations: 63.47 kB / 326.9 MB, free: 5.695 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.01668, allocations: 37.69 kB / 327 MB, free: 5.652 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.067e-05/0.01676, allocations: 330.8 kB / 327.3 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.199e-05/0.0168, allocations: 26.81 kB / 327.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.338e-05/0.01686, allocations: 92.48 kB / 327.4 MB, free: 5.172 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.01699, allocations: 164.3 kB / 327.6 MB, free: 4.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01699, allocations: 3.938 kB / 327.6 MB, free: 4.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000246/0.01723, allocations: 195.9 kB / 327.7 MB, free: 4.773 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.01725, allocations: 15.92 kB / 327.8 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01725, allocations: 0 / 327.8 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/0.01748, allocations: 87.59 kB / 327.8 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.319e-05/0.01757, allocations: 35.92 kB / 327.9 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.01878, allocations: 1.68 MB / 329.6 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.805e-05/0.01885, allocations: 11.94 kB / 329.6 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.01886, allocations: 4 kB / 329.6 MB, free: 2.848 MB / 298.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.791e-05/0.01894, allocations: 128.7 kB / 329.7 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.01897, allocations: 16.03 kB / 329.7 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.01921, allocations: 186.1 kB / 329.9 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01921, allocations: 0 / 329.9 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.01921, allocations: 0 / 329.9 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.01922, allocations: 7.938 kB / 329.9 MB, free: 2.492 MB / 298.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.0004868/0.0197, allocations: 0.4964 MB / 330.4 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.01971, allocations: 4 kB / 330.4 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.01976, allocations: 23.98 kB / 330.4 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001603/0.01992, allocations: 82.44 kB / 330.5 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.01993, allocations: 0 / 330.5 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009288/0.02086, allocations: 1.596 MB / 332.1 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.02086, allocations: 4.031 kB / 332.1 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.02113, allocations: 318 kB / 332.4 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.02115, allocations: 27.78 kB / 332.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.02116, allocations: 7.938 kB / 332.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.736e-05/0.02122, allocations: 4 kB / 332.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.02126, allocations: 19.91 kB / 332.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.02126, allocations: 4 kB / 332.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.411e-05/0.0213, allocations: 48.8 kB / 332.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0213, allocations: 0 / 332.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002543/0.02155, allocations: 72 kB / 332.6 MB, free: 15.62 MB / 314.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 7.381e-05/0.02163, allocations: 72.42 kB / 332.7 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003237/0.02195, allocations: 268 kB / 332.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.02196, allocations: 4.188 kB / 332.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.02212, allocations: 209.2 kB / 333.1 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.02232, allocations: 38.75 kB / 333.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007575/0.02308, allocations: 450 kB / 333.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.347e-05/0.02314, allocations: 100.3 kB / 333.7 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.422e-05/0.02319, allocations: 25.67 kB / 333.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.154e-05/0.02327, allocations: 71.36 kB / 333.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.02327, allocations: 0 / 333.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of Templates: time 0.004448/0.02771, allocations: 3.037 MB / 336.9 MB, free: 11.31 MB / 314.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 -s gbode -gbm=radauIIA3 -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.0902126003056765]