Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.00125/0.00125, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001802/0.003052, 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.001422/0.001422, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004648/0.00607, allocations: 479.5 kB / 11.83 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.9535/0.9535, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07734/1.031, allocations: 53.65 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.1273/0.1273, allocations: 29.44 MB / 273.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/0.2288, allocations: 9.54 MB / 283.2 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.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.726e-06/9.838e-06, allocations: 4.5 kB / 284.5 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.003387/0.003397, allocations: 4.355 MB / 288.8 MB, free: 8.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.004694, allocations: 1.242 MB / 290.1 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.004821, allocations: 24.06 kB / 290.1 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005161/0.005337, allocations: 371.7 kB / 290.4 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.00565, allocations: 275.7 kB / 290.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.005927, allocations: 166.6 kB / 290.9 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004102/0.006338, allocations: 0.5932 MB / 291.5 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002584/0.006596, allocations: 234.3 kB / 291.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004201/0.007016, allocations: 434.9 kB / 292.1 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.007274, allocations: 236.5 kB / 292.3 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.007308, allocations: 29.56 kB / 292.4 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.007507, allocations: 128.7 kB / 292.5 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.007639, allocations: 189.8 kB / 292.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.00775, allocations: 127 kB / 292.8 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.008084, allocations: 363.7 kB / 293.2 MB, free: 5.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.008094, allocations: 0 / 293.2 MB, free: 5.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.008094, allocations: 1.562 kB / 293.2 MB, free: 5.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.008104, allocations: 0 / 293.2 MB, free: 5.66 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.0006945/0.008799, allocations: 0.7 MB / 293.9 MB, free: 5.156 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.008828, allocations: 9.156 kB / 293.9 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004081/0.009236, allocations: 186.9 kB / 294.1 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.009557, allocations: 308 kB / 294.4 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.009577, allocations: 25.38 kB / 294.4 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.154e-05/0.009659, allocations: 48.67 kB / 294.4 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.009941, allocations: 307.8 kB / 294.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.009954, allocations: 3.938 kB / 294.7 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.009975, allocations: 12 kB / 294.7 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.763e-05/0.01003, allocations: 28.98 kB / 294.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.01016, allocations: 110.9 kB / 294.9 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009803/0.01114, allocations: 1.144 MB / 296 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.01126, allocations: 83.95 kB / 296.1 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.944e-05/0.01131, allocations: 45.7 kB / 296.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.01133, allocations: 4 kB / 296.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.01135, allocations: 34.55 kB / 296.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.01135, allocations: 0 / 296.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005988/0.01195, allocations: 408.3 kB / 296.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.01198, allocations: 81.11 kB / 296.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.01214, allocations: 270.8 kB / 296.9 MB, free: 1.973 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.01215, allocations: 29.7 kB / 297 MB, free: 1.938 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.01225, allocations: 236.4 kB / 297.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.01229, allocations: 67.42 kB / 297.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.01235, allocations: 61.62 kB / 297.3 MB, free: 1.566 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.01244, allocations: 342.8 kB / 297.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.207e-05/0.01247, allocations: 23.98 kB / 297.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.16e-05/0.01256, allocations: 146.1 kB / 297.8 MB, free: 1.008 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.01271, allocations: 200.3 kB / 298 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01271, allocations: 0 / 298 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002858/0.01299, allocations: 253 kB / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.01301, allocations: 17.44 kB / 298.3 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01301, allocations: 4 kB / 298.3 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000279/0.01329, allocations: 119.7 kB / 298.4 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.01342, allocations: 59.91 kB / 298.5 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.0146, allocations: 1.749 MB / 300.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.96e-05/0.01469, allocations: 8 kB / 300.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.01471, allocations: 12.16 kB / 300.2 MB, free: 14.44 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.685e-05/0.01479, allocations: 136.5 kB / 300.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.01483, allocations: 19.97 kB / 300.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.01499, allocations: 149.7 kB / 300.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01499, allocations: 3.938 kB / 300.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01499, allocations: 4 kB / 300.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.015, allocations: 0 / 300.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.01542, allocations: 395.9 kB / 300.9 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.01542, allocations: 8.062 kB / 300.9 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.01556, allocations: 54.47 kB / 301 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.01558, allocations: 23.81 kB / 301 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.366e-05/0.01564, allocations: 30.5 kB / 301 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.01565, allocations: 4 kB / 301 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005105/0.01616, allocations: 1.282 MB / 302.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.01616, allocations: 7.938 kB / 302.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.01636, allocations: 268.2 kB / 302.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.01638, allocations: 7.984 kB / 302.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.47e-05/0.01644, allocations: 7.984 kB / 302.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.01647, allocations: 24.03 kB / 302.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.01647, allocations: 4 kB / 302.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.015e-05/0.01653, allocations: 92.62 kB / 302.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01653, allocations: 0 / 302.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002451/0.01678, allocations: 92 kB / 302.8 MB, free: 11.67 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): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.008e-05/0.01685, allocations: 84.36 kB / 302.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002921/0.01714, allocations: 300.8 kB / 303.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.01715, allocations: 4 kB / 303.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.01728, allocations: 195.6 kB / 303.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.01767, allocations: 0.6057 MB / 304 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006591/0.02426, allocations: 0.7706 MB / 304.8 MB, free: 9.527 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.02437, allocations: 132.5 kB / 304.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.02447, allocations: 39.09 kB / 304.9 MB, free: 9.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.02461, allocations: 103.3 kB / 305 MB, free: 9.238 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02461, allocations: 0 / 305 MB, free: 9.238 MB / 298.7 MB Notification: Performance of Templates: time 0.007102/0.03171, allocations: 4.37 MB / 309.4 MB, free: 4.961 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.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.7682830188423395]