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.001893/0.001893, allocations: 99.59 kB / 20.97 MB, free: 3.441 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.001954/0.001954, allocations: 157.7 kB / 24.27 MB, free: 144 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.551/1.551, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.2976/0.2976, allocations: 29.41 MB / 290.5 MB, free: 2.426 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 1.232e-06/1.232e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.951e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.007334/0.007363, allocations: 4.673 MB / 373.6 MB, free: 6.629 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002571/0.009934, allocations: 1.305 MB / 374.9 MB, free: 5.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.01011, allocations: 19.81 kB / 374.9 MB, free: 5.301 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.01138, allocations: 410.2 kB / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005736/0.01196, allocations: 258.5 kB / 375.5 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.01244, allocations: 167.5 kB / 375.7 MB, free: 4.48 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007092/0.01315, allocations: 0.5839 MB / 376.3 MB, free: 3.895 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004255/0.01358, allocations: 225.5 kB / 376.5 MB, free: 3.676 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005992/0.01417, allocations: 358.9 kB / 376.9 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005114/0.01469, allocations: 267.2 kB / 377.1 MB, free: 3.062 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.838e-05/0.01476, allocations: 28 kB / 377.1 MB, free: 3.035 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.01508, allocations: 135.7 kB / 377.3 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.01532, allocations: 199.5 kB / 377.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.01554, allocations: 151.7 kB / 377.6 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007633/0.0163, allocations: 0.514 MB / 378.1 MB, free: 2.043 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.0163, allocations: 4 kB / 378.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.0163, allocations: 0 / 378.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.01631, allocations: 0 / 378.1 MB, free: 2.039 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.001355/0.01767, allocations: 0.758 MB / 378.9 MB, free: 1.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.01772, allocations: 15.98 kB / 378.9 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006936/0.01842, allocations: 120.6 kB / 379 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007862/0.0192, allocations: 358.8 kB / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.01925, allocations: 33.36 kB / 379.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.01939, allocations: 40.7 kB / 379.4 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006933/0.02008, allocations: 374 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.02011, allocations: 4 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.02015, allocations: 15.98 kB / 379.8 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/0.02026, allocations: 21 kB / 379.9 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004279/0.02069, allocations: 183.8 kB / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.02327, allocations: 1.649 MB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.02356, allocations: 118 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.0237, allocations: 67.41 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.02372, allocations: 0 / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.02376, allocations: 41.39 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.02376, allocations: 0 / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001395/0.02515, allocations: 0.5815 MB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.02521, allocations: 77.11 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004198/0.02563, allocations: 390.1 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.02566, allocations: 29.7 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/0.02593, allocations: 314.7 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.154e-05/0.02601, allocations: 75.42 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.02614, allocations: 71.64 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003146/0.02645, allocations: 0.5354 MB / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.02658, allocations: 40.27 kB / 384 MB, free: 11.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.02685, allocations: 203.8 kB / 384.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.02725, allocations: 278.1 kB / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.02726, allocations: 3.938 kB / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008264/0.02809, allocations: 360.7 kB / 384.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.0281, allocations: 4 kB / 384.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005145/0.02862, allocations: 191.7 kB / 385 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006007/0.02922, allocations: 127.7 kB / 385.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.02942, allocations: 55.91 kB / 385.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003087/0.03251, allocations: 2.402 MB / 387.6 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.03271, allocations: 19.98 kB / 387.6 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.03273, allocations: 8 kB / 387.6 MB, free: 7.961 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.0002201/0.03295, allocations: 188.5 kB / 387.8 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/0.03302, allocations: 31.8 kB / 387.8 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004257/0.03345, allocations: 183.5 kB / 388 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.03345, allocations: 4 kB / 388 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.03346, allocations: 3.938 kB / 388 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.03346, allocations: 3.984 kB / 388 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.03467, allocations: 0.6417 MB / 388.7 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.03467, allocations: 0 / 388.7 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.03491, allocations: 43.97 kB / 388.7 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.03501, allocations: 27.61 kB / 388.7 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.03503, allocations: 4 kB / 388.7 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.03668, allocations: 1.9 MB / 390.6 MB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.03669, allocations: 4 kB / 390.6 MB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005497/0.03724, allocations: 394.2 kB / 391 MB, free: 4.316 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.03729, allocations: 27.8 kB / 391.1 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.03734, allocations: 4.125 kB / 391.1 MB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.0375, allocations: 15.98 kB / 391.1 MB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.03754, allocations: 15.97 kB / 391.1 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.03756, allocations: 8 kB / 391.1 MB, free: 4.246 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002777/0.03784, allocations: 239 kB / 391.3 MB, free: 4.012 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03784, allocations: 0 / 391.3 MB, free: 4.012 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005044/0.03834, allocations: 95.94 kB / 391.4 MB, free: 3.918 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.0001352/0.03848, allocations: 95.25 kB / 391.5 MB, free: 3.816 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007603/0.03924, allocations: 399.1 kB / 391.9 MB, free: 3.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/0.03924, allocations: 7.938 kB / 391.9 MB, free: 3.402 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.03965, allocations: 284.5 kB / 392.2 MB, free: 3.105 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.04013, allocations: 67.75 kB / 392.3 MB, free: 3.043 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.04153, allocations: 0.762 MB / 393 MB, free: 2.234 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.04181, allocations: 225.1 kB / 393.2 MB, free: 2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.04197, allocations: 54.92 kB / 393.3 MB, free: 1.945 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.04203, allocations: 24.5 kB / 393.3 MB, free: 1.922 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.04203, allocations: 4 kB / 393.3 MB, free: 1.918 MB / 362.7 MB Notification: Performance of Templates: time 0.009567/0.0516, allocations: 3.942 MB / 397.3 MB, free: 14.03 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=240 -emit_protected -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","/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.801547099952586]