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.0009891/0.0009891, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.001067/0.001067, allocations: 164.8 kB / 24.99 MB, free: 9.32 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.025/1.025, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2273/0.2273, allocations: 29.41 MB / 291.2 MB, free: 2.496 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.[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.122e-06/1.122e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.232e-05, allocations: 2.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.003367/0.003389, allocations: 3.613 MB / 373.2 MB, free: 7.68 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.004844, allocations: 1.52 MB / 374.7 MB, free: 6.152 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.004959, allocations: 7.938 kB / 374.8 MB, free: 6.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005707/0.00553, allocations: 254.9 kB / 375 MB, free: 5.895 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004471/0.005977, allocations: 298.5 kB / 375.3 MB, free: 5.602 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.006205, allocations: 127.5 kB / 375.4 MB, free: 5.477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.00651, allocations: 350.9 kB / 375.8 MB, free: 5.133 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.006749, allocations: 114 kB / 375.9 MB, free: 5.023 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005009/0.00725, allocations: 207.4 kB / 376.1 MB, free: 4.82 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.007443, allocations: 143.6 kB / 376.2 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.007465, allocations: 16 kB / 376.2 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.007764, allocations: 291 kB / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.193e-05/0.007856, allocations: 115.7 kB / 376.6 MB, free: 4.266 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.269e-05/0.007929, allocations: 71.84 kB / 376.7 MB, free: 4.195 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.008276, allocations: 319 kB / 377 MB, free: 3.883 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.00828, allocations: 0 / 377 MB, free: 3.883 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.008281, allocations: 3.938 kB / 377 MB, free: 3.879 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.008287, allocations: 0 / 377 MB, free: 3.879 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.0005496/0.008836, allocations: 0.5462 MB / 377.6 MB, free: 3.297 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.008871, allocations: 11.98 kB / 377.6 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006524/0.009523, allocations: 148.5 kB / 377.7 MB, free: 3.141 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.009777, allocations: 212.2 kB / 377.9 MB, free: 2.906 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.009794, allocations: 16.38 kB / 377.9 MB, free: 2.891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.009827, allocations: 16.38 kB / 378 MB, free: 2.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.01011, allocations: 239.6 kB / 378.2 MB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.01012, allocations: 192 / 378.2 MB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.01014, allocations: 4.375 kB / 378.2 MB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.45e-05/0.01017, allocations: 23.92 kB / 378.2 MB, free: 2.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.01038, allocations: 135.8 kB / 378.3 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.01141, allocations: 1.277 MB / 379.6 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.01159, allocations: 110 kB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.012e-05/0.01166, allocations: 55.42 kB / 379.8 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.01168, allocations: 4 kB / 379.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.01171, allocations: 41.38 kB / 379.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.01171, allocations: 4 kB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008679/0.01258, allocations: 427.5 kB / 380.3 MB, free: 428 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.01262, allocations: 81.11 kB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.01274, allocations: 229.9 kB / 380.6 MB, free: 80 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.01276, allocations: 25.7 kB / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.341e-05/0.01285, allocations: 211 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.01289, allocations: 67.42 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.01295, allocations: 51.36 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.01306, allocations: 0.5 MB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.532e-05/0.01311, allocations: 39.91 kB / 381.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.811e-05/0.01321, allocations: 136.8 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.01337, allocations: 183.9 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.01338, allocations: 0 / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003175/0.01369, allocations: 256.7 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.01371, allocations: 8 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01372, allocations: 4 kB / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002845/0.014, allocations: 91.89 kB / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.567e-05/0.0141, allocations: 39.91 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.01591, allocations: 2.269 MB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.132e-05/0.01599, allocations: 8 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.016, allocations: 8 kB / 384.4 MB, free: 11.95 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.0001005/0.0161, allocations: 172.5 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.01614, allocations: 35.73 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.01646, allocations: 213.9 kB / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.01647, allocations: 7.938 kB / 384.9 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.01647, allocations: 4 kB / 384.9 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01647, allocations: 4 kB / 384.9 MB, free: 11.5 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.0006056/0.01708, allocations: 0.5907 MB / 385.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.01708, allocations: 4 kB / 385.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.954e-05/0.01714, allocations: 27.92 kB / 385.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001871/0.01733, allocations: 71.67 kB / 385.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.01734, allocations: 11.94 kB / 385.6 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/0.01859, allocations: 2.172 MB / 387.7 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01859, allocations: 128 / 387.7 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.01892, allocations: 390.1 kB / 388.1 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.01894, allocations: 23.86 kB / 388.1 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.01895, allocations: 4 kB / 388.1 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.405e-05/0.01902, allocations: 7.984 kB / 388.2 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.01905, allocations: 20 kB / 388.2 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.01907, allocations: 8 kB / 388.2 MB, free: 7.969 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.31e-05/0.01914, allocations: 163.1 kB / 388.3 MB, free: 7.809 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01914, allocations: 0 / 388.3 MB, free: 7.809 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003134/0.01945, allocations: 68 kB / 388.4 MB, free: 7.742 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.0001027/0.01956, allocations: 95.19 kB / 388.5 MB, free: 7.641 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004477/0.02, allocations: 359.5 kB / 388.8 MB, free: 7.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.02001, allocations: 0 / 388.8 MB, free: 7.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.02027, allocations: 277.3 kB / 389.1 MB, free: 6.977 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.02056, allocations: 29.41 kB / 389.1 MB, free: 6.953 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009627/0.02152, allocations: 450.2 kB / 389.6 MB, free: 6.473 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.795e-05/0.02159, allocations: 108.2 kB / 389.7 MB, free: 6.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.21e-05/0.02166, allocations: 29.62 kB / 389.7 MB, free: 6.316 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.02171, allocations: 24.48 kB / 389.7 MB, free: 6.293 MB / 362.7 MB Notification: Performance of SimCode: time 8.81e-07/0.02171, allocations: 4 kB / 389.8 MB, free: 6.289 MB / 362.7 MB Notification: Performance of Templates: time 0.004929/0.02664, allocations: 2.905 MB / 392.7 MB, free: 3.41 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.2731337829027325]