Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.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.0007944/0.0007944, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001866, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007102/0.0007102, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008768/0.001587, 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 0.9323/0.9323, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0851/1.017, 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.1997/0.1997, allocations: 29.44 MB / 273.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1313/0.3311, allocations: 9.529 MB / 283 MB, free: 12.85 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.GeneratorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="generator.p.[0-9,]+.|generator.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="generator.p.[0-9,]+.|generator.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 284.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.819e-05, allocations: 3.625 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.003487/0.003505, allocations: 3.544 MB / 287.8 MB, free: 9.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.004808, allocations: 1.047 MB / 288.8 MB, free: 8.293 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.004944, allocations: 13.34 kB / 288.8 MB, free: 8.285 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000432/0.005376, allocations: 194 kB / 289 MB, free: 8.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.005705, allocations: 182.3 kB / 289.2 MB, free: 7.996 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.00597, allocations: 129.8 kB / 289.3 MB, free: 7.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.006287, allocations: 298.5 kB / 289.6 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.006502, allocations: 121.1 kB / 289.7 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.006787, allocations: 195.1 kB / 289.9 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.006961, allocations: 98.89 kB / 290 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.006985, allocations: 14.78 kB / 290 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.007281, allocations: 187.4 kB / 290.2 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.761e-05/0.007349, allocations: 62.25 kB / 290.3 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.567e-05/0.007414, allocations: 57.38 kB / 290.3 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.007727, allocations: 218.9 kB / 290.6 MB, free: 7.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-05/0.007742, allocations: 1.375 kB / 290.6 MB, free: 7.266 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007743, allocations: 0 / 290.6 MB, free: 7.266 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.007757, allocations: 0 / 290.6 MB, free: 7.266 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005486/0.008306, allocations: 477.6 kB / 291 MB, free: 6.887 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.008335, allocations: 9.625 kB / 291 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004552/0.00879, allocations: 187.7 kB / 291.2 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.009022, allocations: 190.6 kB / 291.4 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.009039, allocations: 19.56 kB / 291.4 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.009071, allocations: 19.38 kB / 291.4 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.009282, allocations: 186.4 kB / 291.6 MB, free: 6.406 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.009293, allocations: 192 / 291.6 MB, free: 6.406 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.009309, allocations: 10.75 kB / 291.6 MB, free: 6.398 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/0.009336, allocations: 13.75 kB / 291.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.009469, allocations: 84.62 kB / 291.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008694/0.01034, allocations: 0.8953 MB / 292.6 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.01048, allocations: 127.1 kB / 292.7 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.202e-05/0.01051, allocations: 23.5 kB / 292.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.01053, allocations: 4.094 kB / 292.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.01055, allocations: 40.27 kB / 292.8 MB, free: 5.383 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.01055, allocations: 0 / 292.8 MB, free: 5.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001709/0.01072, allocations: 83.86 kB / 292.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.01076, allocations: 86.17 kB / 293 MB, free: 5.234 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.01087, allocations: 186 kB / 293.2 MB, free: 5.074 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.01088, allocations: 31.36 kB / 293.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.01093, allocations: 147.1 kB / 293.3 MB, free: 4.902 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.01097, allocations: 50.11 kB / 293.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.01102, allocations: 38.19 kB / 293.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.564e-05/0.01109, allocations: 334.8 kB / 293.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.01112, allocations: 18.94 kB / 293.8 MB, free: 4.488 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.813e-05/0.01118, allocations: 96.47 kB / 293.9 MB, free: 4.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.01128, allocations: 144.6 kB / 294 MB, free: 4.242 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01129, allocations: 0 / 294 MB, free: 4.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001375/0.01142, allocations: 134.3 kB / 294.1 MB, free: 4.164 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.01144, allocations: 6.438 kB / 294.1 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01144, allocations: 7.031 kB / 294.1 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.01146, allocations: 3.844 kB / 294.2 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.0117, allocations: 61.3 kB / 294.2 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006007/0.0123, allocations: 1.231 MB / 295.4 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.643e-05/0.01238, allocations: 18.58 kB / 295.5 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.01239, allocations: 6.781 kB / 295.5 MB, free: 2.855 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.539e-05/0.01247, allocations: 124.7 kB / 295.6 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.01249, allocations: 13 kB / 295.6 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.887e-05/0.01259, allocations: 93.31 kB / 295.7 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01259, allocations: 2 kB / 295.7 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.01259, allocations: 3.938 kB / 295.7 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01259, allocations: 2.062 kB / 295.7 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.01296, allocations: 346.5 kB / 296 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.01296, allocations: 0.9688 kB / 296 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.01308, allocations: 38.56 kB / 296.1 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/0.0131, allocations: 22.39 kB / 296.1 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.0131, allocations: 1.094 kB / 296.1 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.01311, allocations: 2.281 kB / 296.1 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004662/0.01357, allocations: 1.219 MB / 297.3 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01358, allocations: 1 kB / 297.3 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.01376, allocations: 280.7 kB / 297.6 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.01377, allocations: 6.938 kB / 297.6 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.763e-05/0.01382, allocations: 6.141 kB / 297.6 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.01384, allocations: 12.05 kB / 297.6 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.01384, allocations: 2.094 kB / 297.6 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.391e-05/0.01388, allocations: 45.44 kB / 297.7 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01388, allocations: 96 / 297.7 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002034/0.01408, allocations: 57.95 kB / 297.7 MB, free: 0.7188 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (inertia.w,constantTorque.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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.142e-05/0.01416, allocations: 76.41 kB / 297.8 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.01432, allocations: 99.28 kB / 297.9 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.01433, allocations: 4 kB / 297.9 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.582e-05/0.01438, allocations: 47.67 kB / 297.9 MB, free: 488 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.01459, allocations: 54.61 kB / 298 MB, free: 436 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/0.0185, allocations: 470.9 kB / 298.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.459e-05/0.01855, allocations: 83.97 kB / 298.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.218e-05/0.01862, allocations: 13.64 kB / 298.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/0.0187, allocations: 79.36 kB / 298.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of SimCode: time 1.031e-06/0.0187, allocations: 0 / 298.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of Templates: time 0.003559/0.02226, allocations: 1.625 MB / 300.3 MB, free: 14.15 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.GeneratorTest.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: 2.847512373700738]