Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001012/0.001012, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001437/0.002449, allocations: 449.8 kB / 10.44 MB, free: 252 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.001029/0.001029, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001302/0.002331, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9285/0.9285, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08354/1.012, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.1169/0.1169, allocations: 29.45 MB / 273.6 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1396/0.2565, allocations: 9.533 MB / 283.1 MB, free: 12.82 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.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.204e-06/8.436e-06, allocations: 2.312 kB / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.003773/0.003781, allocations: 4.327 MB / 288.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.005269, allocations: 1.242 MB / 290 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.005433, allocations: 20.91 kB / 290 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000601/0.006034, allocations: 370.9 kB / 290.4 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.006366, allocations: 271.9 kB / 290.7 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.006719, allocations: 172.2 kB / 290.8 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004408/0.00716, allocations: 0.5973 MB / 291.4 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.007439, allocations: 232.9 kB / 291.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005061/0.007945, allocations: 424.9 kB / 292.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004149/0.00836, allocations: 232.9 kB / 292.3 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.382e-05/0.008413, allocations: 28 kB / 292.3 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.008654, allocations: 137.8 kB / 292.5 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.008797, allocations: 197.4 kB / 292.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.008933, allocations: 126.4 kB / 292.8 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.009319, allocations: 365.6 kB / 293.1 MB, free: 5.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.00933, allocations: 3.938 kB / 293.1 MB, free: 5.684 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.009331, allocations: 0 / 293.1 MB, free: 5.684 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.009344, allocations: 0 / 293.1 MB, free: 5.684 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0007413/0.01008, allocations: 0.6919 MB / 293.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.01011, allocations: 13.16 kB / 293.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004222/0.01054, allocations: 193.4 kB / 294 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.01087, allocations: 310.1 kB / 294.3 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.01089, allocations: 25.38 kB / 294.4 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-05/0.01098, allocations: 40.73 kB / 294.4 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.01127, allocations: 311.7 kB / 294.7 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.01128, allocations: 0 / 294.7 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.0113, allocations: 19.98 kB / 294.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.859e-05/0.01136, allocations: 24.98 kB / 294.8 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.0115, allocations: 125.6 kB / 294.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009731/0.01247, allocations: 1.151 MB / 296 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.01261, allocations: 135.8 kB / 296.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.455e-05/0.01265, allocations: 49.75 kB / 296.2 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.01267, allocations: 0 / 296.2 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.01269, allocations: 34.56 kB / 296.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.183e-06/0.01269, allocations: 0 / 296.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005886/0.01328, allocations: 400.3 kB / 296.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.01331, allocations: 92.98 kB / 296.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.01344, allocations: 270.8 kB / 297 MB, free: 1.914 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.01345, allocations: 29.7 kB / 297 MB, free: 1.879 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.996e-05/0.01353, allocations: 232.4 kB / 297.2 MB, free: 1.645 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.01357, allocations: 71.41 kB / 297.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.01362, allocations: 61.61 kB / 297.4 MB, free: 1.508 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.0137, allocations: 338.8 kB / 297.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.67e-05/0.01373, allocations: 30.81 kB / 297.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-05/0.01381, allocations: 138.1 kB / 297.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.01396, allocations: 220.6 kB / 298.1 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01396, allocations: 0 / 298.1 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002962/0.01426, allocations: 261.1 kB / 298.3 MB, free: 432 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.01427, allocations: 8.438 kB / 298.3 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.01427, allocations: 8 kB / 298.4 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002789/0.01455, allocations: 115.6 kB / 298.5 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.0147, allocations: 63.91 kB / 298.5 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.0159, allocations: 1.767 MB / 300.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.621e-05/0.01598, allocations: 8 kB / 300.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.016, allocations: 12 kB / 300.3 MB, free: 14.35 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (29): * Single equations (assignments): 28 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 8.5e-05/0.01608, allocations: 136.6 kB / 300.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.01611, allocations: 19.97 kB / 300.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.01626, allocations: 147.4 kB / 300.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01627, allocations: 4 kB / 300.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.01627, allocations: 0 / 300.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01627, allocations: 0 / 300.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.01669, allocations: 457 kB / 301.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.01669, allocations: 4 kB / 301.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.01683, allocations: 58.59 kB / 301.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.01686, allocations: 23.81 kB / 301.1 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.107e-05/0.01691, allocations: 26.5 kB / 301.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.01692, allocations: 4 kB / 301.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01693, allocations: 3.938 kB / 301.2 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01693, allocations: 4.141 kB / 301.2 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.01712, allocations: 320.6 kB / 301.5 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.01714, allocations: 8 kB / 301.5 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.29e-05/0.01721, allocations: 8.062 kB / 301.5 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.01723, allocations: 19.84 kB / 301.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.01724, allocations: 8 kB / 301.5 MB, free: 13.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.054e-05/0.0173, allocations: 96.62 kB / 301.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0173, allocations: 0 / 301.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002292/0.01753, allocations: 88 kB / 301.7 MB, free: 12.85 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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): 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.445e-05/0.0176, allocations: 84.41 kB / 301.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002858/0.01789, allocations: 295.2 kB / 302.1 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/0.0179, allocations: 8 kB / 302.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.01798, allocations: 69.28 kB / 302.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.01836, allocations: 0.6133 MB / 302.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005729/0.02409, allocations: 0.7663 MB / 303.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.908e-05/0.02417, allocations: 140.5 kB / 303.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.833e-05/0.02426, allocations: 34.95 kB / 303.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.02437, allocations: 99.34 kB / 303.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of SimCode: time 9.51e-07/0.02437, allocations: 0 / 303.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of Templates: time 0.005681/0.03005, allocations: 4.136 MB / 308 MB, free: 6.508 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7527148267254233]