Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.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.001118/0.001118, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001738/0.002856, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007764/0.0007764, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001077/0.001854, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08164/1.088, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1352/0.1352, allocations: 29.44 MB / 273.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1853/0.3205, allocations: 9.529 MB / 283 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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.GeneratorTest2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="generator.p.[0-9,]+.|generator.phi|generator1.p.[0-9,]+.|generator1.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="generator.p.[0-9,]+.|generator.phi|generator1.p.[0-9,]+.|generator1.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.479e-05, allocations: 2.859 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.007008/0.007032, allocations: 4.901 MB / 289.1 MB, free: 8.066 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003944/0.01098, allocations: 2.02 MB / 291.2 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005263/0.0115, allocations: 17.66 kB / 291.2 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.01262, allocations: 434.1 kB / 291.6 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.01415, allocations: 0.5238 MB / 292.1 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008709/0.01503, allocations: 280.2 kB / 292.4 MB, free: 5.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.01638, allocations: 0.7855 MB / 293.2 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006382/0.01702, allocations: 289.8 kB / 293.5 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009274/0.01795, allocations: 466.8 kB / 293.9 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004864/0.01844, allocations: 312 kB / 294.2 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.215e-05/0.0185, allocations: 40.81 kB / 294.3 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.01952, allocations: 0.5284 MB / 294.8 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.01973, allocations: 201.4 kB / 295 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.01991, allocations: 151.7 kB / 295.1 MB, free: 3.895 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.02097, allocations: 0.6074 MB / 295.7 MB, free: 3.285 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.172e-05/0.02099, allocations: 4 kB / 295.7 MB, free: 3.281 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.02099, allocations: 0 / 295.7 MB, free: 3.281 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.737e-05/0.02102, allocations: 0 / 295.7 MB, free: 3.281 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001142/0.02216, allocations: 0.8152 MB / 296.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.0222, allocations: 8.031 kB / 296.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009781/0.02318, allocations: 357.6 kB / 296.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.02356, allocations: 284.4 kB / 297.2 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.02359, allocations: 33.36 kB / 297.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.02364, allocations: 44.36 kB / 297.3 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.02403, allocations: 392.5 kB / 297.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.805e-05/0.02409, allocations: 7.953 kB / 297.7 MB, free: 1.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.02412, allocations: 23.98 kB / 297.7 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/0.02416, allocations: 28.98 kB / 297.7 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002643/0.02443, allocations: 201.6 kB / 297.9 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.02607, allocations: 1.534 MB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.02633, allocations: 253.1 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.963e-05/0.02642, allocations: 87.03 kB / 299.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.02645, allocations: 8 kB / 299.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.02648, allocations: 42.34 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 3.697e-06/0.02648, allocations: 0 / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001631/0.02811, allocations: 0.8332 MB / 300.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.02815, allocations: 81.11 kB / 300.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.02829, allocations: 228.9 kB / 301 MB, free: 13.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.02832, allocations: 33.7 kB / 301 MB, free: 13.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.0284, allocations: 220.9 kB / 301.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.0285, allocations: 166.5 kB / 301.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.069e-05/0.02859, allocations: 82.11 kB / 301.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.02866, allocations: 350.8 kB / 301.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.449e-05/0.02873, allocations: 51.81 kB / 301.8 MB, free: 12.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.02884, allocations: 165.8 kB / 302 MB, free: 12.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.02912, allocations: 278.7 kB / 302.3 MB, free: 12.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.02913, allocations: 0 / 302.3 MB, free: 12.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003949/0.02952, allocations: 363.6 kB / 302.6 MB, free: 11.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.02954, allocations: 8 kB / 302.6 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.02955, allocations: 4 kB / 302.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/0.02987, allocations: 158.1 kB / 302.8 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.03013, allocations: 103.9 kB / 302.9 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.03183, allocations: 1.924 MB / 304.8 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.03198, allocations: 12 kB / 304.8 MB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.03201, allocations: 16 kB / 304.9 MB, free: 9.668 MB / 298.7 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 (47): * Single equations (assignments): 46 * 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 {(4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.03212, allocations: 132.5 kB / 305 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.03217, allocations: 39.97 kB / 305 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004213/0.03259, allocations: 347.8 kB / 305.4 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.03259, allocations: 8 kB / 305.4 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.0326, allocations: 0 / 305.4 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.0326, allocations: 0 / 305.4 MB, free: 9.129 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.0008817/0.03348, allocations: 0.7649 MB / 306.1 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.03349, allocations: 0 / 306.1 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.0337, allocations: 99.81 kB / 306.2 MB, free: 8.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.03374, allocations: 35.73 kB / 306.3 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002543/0.034, allocations: 126.3 kB / 306.4 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.03402, allocations: 12 kB / 306.4 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/0.03552, allocations: 1.826 MB / 308.2 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.03552, allocations: 0 / 308.2 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/0.03603, allocations: 0.5385 MB / 308.8 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.03606, allocations: 15.98 kB / 308.8 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.796e-05/0.03616, allocations: 8 kB / 308.8 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.03621, allocations: 35.88 kB / 308.8 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.03623, allocations: 8 kB / 308.8 MB, free: 5.508 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.571e-05/0.03629, allocations: 78.77 kB / 308.9 MB, free: 5.422 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.03629, allocations: 0 / 308.9 MB, free: 5.422 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004014/0.03669, allocations: 148 kB / 309.1 MB, free: 5.277 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.phi) * 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 (38): * Single equations (assignments): 36 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001031/0.0368, allocations: 92.28 kB / 309.1 MB, free: 5.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005282/0.03732, allocations: 439.2 kB / 309.6 MB, free: 4.734 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.677e-05/0.03734, allocations: 4 kB / 309.6 MB, free: 4.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002779/0.03762, allocations: 313.9 kB / 309.9 MB, free: 4.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.03792, allocations: 105.7 kB / 310 MB, free: 4.305 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008364/0.04628, allocations: 0.8661 MB / 310.9 MB, free: 3.402 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.0464, allocations: 158.2 kB / 311 MB, free: 3.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.04654, allocations: 43.27 kB / 311.1 MB, free: 3.188 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.04667, allocations: 99.36 kB / 311.1 MB, free: 3.09 MB / 298.7 MB Notification: Performance of SimCode: time 1.683e-06/0.04667, allocations: 0 / 311.1 MB, free: 3.09 MB / 298.7 MB Notification: Performance of Templates: time 0.008423/0.0551, allocations: 5.937 MB / 317.1 MB, free: 13.23 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.GeneratorTest2.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0810253052040935]