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.001785/0.001785, allocations: 87.67 kB / 20.96 MB, free: 3.441 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.001892/0.001892, allocations: 161.3 kB / 24.27 MB, free: 136 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.569/1.569, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.2958/0.2958, allocations: 29.4 MB / 290.5 MB, free: 2.414 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.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",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.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.673e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005734/0.00577, allocations: 3.555 MB / 372.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002653/0.008423, allocations: 1.516 MB / 373.9 MB, free: 6.207 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.008567, allocations: 15.94 kB / 374 MB, free: 6.191 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009141/0.009481, allocations: 250.9 kB / 374.2 MB, free: 5.945 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000711/0.01019, allocations: 302.5 kB / 374.5 MB, free: 5.648 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.01057, allocations: 119.5 kB / 374.6 MB, free: 5.531 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.01104, allocations: 354.9 kB / 375 MB, free: 5.184 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.01133, allocations: 110.1 kB / 375.1 MB, free: 5.078 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004008/0.01174, allocations: 215.3 kB / 375.3 MB, free: 4.867 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.01203, allocations: 155.5 kB / 375.4 MB, free: 4.715 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.01207, allocations: 16 kB / 375.5 MB, free: 4.699 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/0.01257, allocations: 279 kB / 375.7 MB, free: 4.426 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.01271, allocations: 111.7 kB / 375.8 MB, free: 4.316 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.01282, allocations: 71.83 kB / 375.9 MB, free: 4.246 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005921/0.01342, allocations: 382.8 kB / 376.3 MB, free: 3.871 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.01342, allocations: 0 / 376.3 MB, free: 3.871 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.01342, allocations: 4 kB / 376.3 MB, free: 3.867 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.01343, allocations: 0 / 376.3 MB, free: 3.867 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.0008806/0.01431, allocations: 0.5536 MB / 376.8 MB, free: 3.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.01435, allocations: 11.98 kB / 376.8 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009742/0.01533, allocations: 156.6 kB / 377 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.01572, allocations: 208.2 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.01574, allocations: 20.36 kB / 377.2 MB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.01578, allocations: 12.38 kB / 377.2 MB, free: 2.852 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004503/0.01623, allocations: 259.6 kB / 377.5 MB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.01625, allocations: 192 / 377.5 MB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.01628, allocations: 4.375 kB / 377.5 MB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.01632, allocations: 23.92 kB / 377.5 MB, free: 2.543 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.01669, allocations: 155.8 kB / 377.7 MB, free: 2.391 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.01889, allocations: 1.324 MB / 379 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.01915, allocations: 118.1 kB / 379.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.01928, allocations: 63.41 kB / 379.2 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.01931, allocations: 3.938 kB / 379.2 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.01935, allocations: 41.39 kB / 379.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.143e-06/0.01935, allocations: 0 / 379.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001427/0.02078, allocations: 436.4 kB / 379.6 MB, free: 292 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/0.02085, allocations: 85.09 kB / 379.7 MB, free: 188 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.02112, allocations: 253.8 kB / 380 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.02115, allocations: 29.7 kB / 380 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.02132, allocations: 215.1 kB / 380.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.328e-05/0.02139, allocations: 63.44 kB / 380.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.02149, allocations: 59.36 kB / 380.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000308/0.0218, allocations: 0.5079 MB / 380.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.288e-05/0.0219, allocations: 43.97 kB / 380.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.02209, allocations: 148.6 kB / 381 MB, free: 14.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.02239, allocations: 203.5 kB / 381.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.02239, allocations: 0 / 381.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005548/0.02295, allocations: 265 kB / 381.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.02297, allocations: 8.031 kB / 381.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.02298, allocations: 4 kB / 381.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004646/0.02344, allocations: 103.5 kB / 381.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.02359, allocations: 31.98 kB / 381.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002844/0.02644, allocations: 2.335 MB / 384 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.02656, allocations: 12 kB / 384 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.02659, allocations: 11.98 kB / 384 MB, free: 11.66 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 0.0001716/0.02676, allocations: 168.5 kB / 384.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.02682, allocations: 35.8 kB / 384.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005509/0.02737, allocations: 217.6 kB / 384.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.02738, allocations: 7.938 kB / 384.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.02738, allocations: 0 / 384.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.02739, allocations: 7.984 kB / 384.4 MB, free: 11.21 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.001187/0.02858, allocations: 0.6178 MB / 385 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.02858, allocations: 4 kB / 385 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.0287, allocations: 31.92 kB / 385.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002994/0.029, allocations: 71.61 kB / 385.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.02902, allocations: 7.938 kB / 385.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/0.03147, allocations: 2.215 MB / 387.4 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.03147, allocations: 0 / 387.4 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006191/0.03209, allocations: 402.2 kB / 387.8 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.03213, allocations: 19.86 kB / 387.8 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.03215, allocations: 4 kB / 387.8 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.03227, allocations: 8.031 kB / 387.8 MB, free: 7.621 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.03233, allocations: 23.95 kB / 387.8 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.03234, allocations: 4 kB / 387.8 MB, free: 7.594 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001552/0.0325, allocations: 175.1 kB / 388 MB, free: 7.422 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0325, allocations: 0 / 388 MB, free: 7.422 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004395/0.03294, allocations: 68 kB / 388 MB, free: 7.355 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 0.0001347/0.03307, allocations: 95.25 kB / 388.1 MB, free: 7.254 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007401/0.03381, allocations: 386.9 kB / 388.5 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.03382, allocations: 0 / 388.5 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004392/0.03426, allocations: 286 kB / 388.8 MB, free: 6.555 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.03462, allocations: 29.19 kB / 388.8 MB, free: 6.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008585/0.03548, allocations: 437.9 kB / 389.3 MB, free: 6.059 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.03566, allocations: 148.5 kB / 389.4 MB, free: 5.895 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.784e-05/0.03576, allocations: 33.73 kB / 389.4 MB, free: 5.863 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.03581, allocations: 16.5 kB / 389.4 MB, free: 5.848 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.03581, allocations: 0 / 389.4 MB, free: 5.848 MB / 362.7 MB Notification: Performance of Templates: time 0.007573/0.04339, allocations: 2.917 MB / 392.4 MB, free: 2.961 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff",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 [Calling sys.exit(0), Time elapsed: 4.756917514023371]