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.001499/0.001499, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.00178/0.00178, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 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.505/1.505, allocations: 177.2 MB / 204.6 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] 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.3094/0.3094, allocations: 29.4 MB / 290.5 MB, free: 2.465 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.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.556e-05, allocations: 5.547 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.01136/0.0114, allocations: 4.483 MB / 373.4 MB, free: 6.797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005029/0.01643, allocations: 1.266 MB / 374.6 MB, free: 5.527 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002819/0.01671, allocations: 15.88 kB / 374.7 MB, free: 5.512 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001907/0.01862, allocations: 398.2 kB / 375 MB, free: 5.121 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006061/0.01922, allocations: 262.4 kB / 375.3 MB, free: 4.863 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005016/0.01973, allocations: 171.5 kB / 375.5 MB, free: 4.695 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007045/0.02043, allocations: 0.58 MB / 376 MB, free: 4.113 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004401/0.02087, allocations: 225.5 kB / 376.3 MB, free: 3.895 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00058/0.02145, allocations: 358.9 kB / 376.6 MB, free: 3.543 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004962/0.02195, allocations: 259.2 kB / 376.9 MB, free: 3.289 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.652e-05/0.022, allocations: 32 kB / 376.9 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002907/0.02229, allocations: 123.8 kB / 377 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.02254, allocations: 203.5 kB / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.02277, allocations: 143.7 kB / 377.4 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007295/0.0235, allocations: 0.5179 MB / 377.9 MB, free: 2.277 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.0235, allocations: 0 / 377.9 MB, free: 2.277 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.0235, allocations: 4 kB / 377.9 MB, free: 2.273 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.02351, allocations: 0 / 377.9 MB, free: 2.273 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001286/0.0248, allocations: 0.631 MB / 378.5 MB, free: 1.609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.02484, allocations: 15.98 kB / 378.5 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006873/0.02552, allocations: 120.6 kB / 378.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007473/0.02627, allocations: 364 kB / 379 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.02631, allocations: 21.38 kB / 379 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.02645, allocations: 52.67 kB / 379.1 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008336/0.02729, allocations: 480.9 kB / 379.5 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.0273, allocations: 0 / 379.5 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/0.02735, allocations: 16 kB / 379.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.02747, allocations: 24.98 kB / 379.6 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006091/0.02808, allocations: 335.7 kB / 379.9 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.03064, allocations: 1.402 MB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.03095, allocations: 141.1 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.03113, allocations: 101.7 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.03115, allocations: 4.281 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.03119, allocations: 38.56 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.03119, allocations: 0 / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001582/0.03277, allocations: 0.7261 MB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.03284, allocations: 81.11 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.03317, allocations: 284.5 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.0332, allocations: 29.7 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.03343, allocations: 263.9 kB / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.999e-05/0.0335, allocations: 63.47 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.03361, allocations: 65.92 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.0338, allocations: 338.9 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.03397, allocations: 92.22 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.03423, allocations: 201.3 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004749/0.03471, allocations: 315.8 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.03471, allocations: 3.938 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009643/0.03568, allocations: 457.9 kB / 384.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.0357, allocations: 8 kB / 384.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006527/0.03635, allocations: 284.8 kB / 384.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006501/0.037, allocations: 156.9 kB / 384.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.03721, allocations: 55.91 kB / 385 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003331/0.04054, allocations: 2.25 MB / 387.2 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.04075, allocations: 19.98 kB / 387.2 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.04078, allocations: 12 kB / 387.2 MB, free: 8.434 MB / 362.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 (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 0.0002467/0.04102, allocations: 185.7 kB / 387.4 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.832e-05/0.0411, allocations: 39.75 kB / 387.5 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004943/0.04159, allocations: 244.6 kB / 387.7 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.0416, allocations: 4 kB / 387.7 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.0416, allocations: 0 / 387.7 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.04161, allocations: 0 / 387.7 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.04298, allocations: 0.6098 MB / 388.3 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.04298, allocations: 0 / 388.3 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.04321, allocations: 39.91 kB / 388.4 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/0.04333, allocations: 28.84 kB / 388.4 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.04335, allocations: 8 kB / 388.4 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.04484, allocations: 1.466 MB / 389.9 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.04484, allocations: 0 / 389.9 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.04547, allocations: 430.6 kB / 390.3 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.04552, allocations: 23.81 kB / 390.3 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.04556, allocations: 15.97 kB / 390.3 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.04571, allocations: 8.156 kB / 390.3 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.04575, allocations: 15.97 kB / 390.3 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.04577, allocations: 4 kB / 390.3 MB, free: 5.137 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002285/0.046, allocations: 203.1 kB / 390.5 MB, free: 4.938 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.046, allocations: 0 / 390.5 MB, free: 4.938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004831/0.04648, allocations: 91.94 kB / 390.6 MB, free: 4.848 MB / 362.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 0.0001358/0.04662, allocations: 103.3 kB / 390.7 MB, free: 4.734 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007621/0.04738, allocations: 395.3 kB / 391.1 MB, free: 4.344 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.04738, allocations: 0 / 391.1 MB, free: 4.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003696/0.04775, allocations: 228 kB / 391.3 MB, free: 4.105 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.04826, allocations: 67.25 kB / 391.4 MB, free: 4.043 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.04974, allocations: 0.8072 MB / 392.2 MB, free: 3.195 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.05004, allocations: 249 kB / 392.5 MB, free: 2.934 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.05022, allocations: 50.94 kB / 392.5 MB, free: 2.879 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.05029, allocations: 28.5 kB / 392.5 MB, free: 2.852 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.05029, allocations: 0 / 392.5 MB, free: 2.852 MB / 362.7 MB Notification: Performance of Templates: time 0.009288/0.05958, allocations: 3.853 MB / 396.4 MB, free: 15.06 MB / 378.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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.810030847904272]