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.001897/0.001897, allocations: 85.83 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001427/0.001427, allocations: 165.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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.389/1.389, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 179] 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.1931/0.1931, allocations: 29.42 MB / 290.1 MB, free: 3.301 MB / 270.1 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.243e-06/1.243e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.709e-05, allocations: 6.219 kB / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006031/0.006058, allocations: 4.475 MB / 435.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.00828, allocations: 1.266 MB / 436.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.008451, allocations: 19.81 kB / 436.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.0097, allocations: 393 kB / 436.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005333/0.01023, allocations: 266.4 kB / 437.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.01067, allocations: 167.5 kB / 437.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006116/0.01128, allocations: 0.5761 MB / 437.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003819/0.01167, allocations: 229.5 kB / 438.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004931/0.01216, allocations: 346.9 kB / 438.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.01259, allocations: 259.3 kB / 438.7 MB, free: 9.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.868e-05/0.01265, allocations: 35.94 kB / 438.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.01293, allocations: 131.7 kB / 438.9 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.01314, allocations: 199.5 kB / 439 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.01334, allocations: 147.7 kB / 439.2 MB, free: 9.438 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006361/0.01397, allocations: 0.5101 MB / 439.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.01398, allocations: 0 / 439.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01398, allocations: 0 / 439.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.01398, allocations: 4 kB / 439.7 MB, free: 8.922 MB / 366.1 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.001091/0.01508, allocations: 0.6311 MB / 440.3 MB, free: 8.258 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.01511, allocations: 11.98 kB / 440.3 MB, free: 8.246 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005849/0.0157, allocations: 92.59 kB / 440.4 MB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006934/0.01639, allocations: 343.9 kB / 440.8 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.01642, allocations: 33.36 kB / 440.8 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.01655, allocations: 44.73 kB / 440.8 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/0.01728, allocations: 476.9 kB / 441.3 MB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.01729, allocations: 0 / 441.3 MB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.01734, allocations: 20 kB / 441.3 MB, free: 7.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.01744, allocations: 28.98 kB / 441.4 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005745/0.01802, allocations: 335.7 kB / 441.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.02013, allocations: 1.401 MB / 443.1 MB, free: 5.383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.02043, allocations: 137.1 kB / 443.2 MB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.0206, allocations: 97.73 kB / 443.3 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.02061, allocations: 4 kB / 443.3 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.02065, allocations: 34.56 kB / 443.4 MB, free: 5.082 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/0.02065, allocations: 0 / 443.4 MB, free: 5.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001482/0.02213, allocations: 0.7114 MB / 444.1 MB, free: 4.332 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.02219, allocations: 81.11 kB / 444.1 MB, free: 4.234 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.02251, allocations: 292.4 kB / 444.4 MB, free: 3.938 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.02253, allocations: 29.7 kB / 444.5 MB, free: 3.902 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.02273, allocations: 260 kB / 444.7 MB, free: 3.645 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.225e-05/0.02279, allocations: 63.44 kB / 444.8 MB, free: 3.582 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.0229, allocations: 57.98 kB / 444.8 MB, free: 3.516 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.02306, allocations: 338.8 kB / 445.2 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.02322, allocations: 92.23 kB / 445.3 MB, free: 3.086 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.02346, allocations: 205.4 kB / 445.5 MB, free: 2.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.0239, allocations: 312.6 kB / 445.8 MB, free: 2.488 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.02391, allocations: 3.938 kB / 445.8 MB, free: 2.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008967/0.0248, allocations: 449.8 kB / 446.2 MB, free: 2.035 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.02482, allocations: 14.8 kB / 446.2 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006062/0.02543, allocations: 283.8 kB / 446.5 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000503/0.02593, allocations: 128.7 kB / 446.6 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.02613, allocations: 56.03 kB / 446.7 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1736/0.1997, allocations: 2.229 MB / 448.9 MB, free: 28.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.1999, allocations: 12.33 kB / 448.9 MB, free: 28.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.1999, allocations: 13.72 kB / 448.9 MB, free: 28.8 MB / 366.1 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.000188/0.2001, allocations: 185.3 kB / 449.1 MB, free: 28.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.353e-05/0.2002, allocations: 30.16 kB / 449.1 MB, free: 28.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.2006, allocations: 254.4 kB / 449.4 MB, free: 28.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2006, allocations: 1.469 kB / 449.4 MB, free: 28.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.2006, allocations: 3.938 kB / 449.4 MB, free: 28.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2006, allocations: 0.5625 kB / 449.4 MB, free: 28.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000908/0.2015, allocations: 0.613 MB / 450 MB, free: 28.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2015, allocations: 1.094 kB / 450 MB, free: 28.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.2017, allocations: 39.94 kB / 450 MB, free: 28.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.2018, allocations: 29.47 kB / 450.1 MB, free: 28.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.2018, allocations: 10.91 kB / 450.1 MB, free: 28.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008335/0.2027, allocations: 1.461 MB / 451.6 MB, free: 27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2027, allocations: 1.25 kB / 451.6 MB, free: 27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.2031, allocations: 421 kB / 452 MB, free: 26.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.2031, allocations: 24.06 kB / 452 MB, free: 26.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.2032, allocations: 11.56 kB / 452 MB, free: 26.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.2033, allocations: 10.5 kB / 452 MB, free: 26.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.2034, allocations: 18.39 kB / 452 MB, free: 26.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.2034, allocations: 4.281 kB / 452 MB, free: 26.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.2035, allocations: 203.4 kB / 452.2 MB, free: 26.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2035, allocations: 0 / 452.2 MB, free: 26.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000439/0.204, allocations: 87.22 kB / 452.3 MB, free: 26.62 MB / 366.1 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 9.277e-05/0.2041, allocations: 101.6 kB / 452.4 MB, free: 26.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006416/0.2047, allocations: 384.6 kB / 452.8 MB, free: 26.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2047, allocations: 0 / 452.8 MB, free: 26.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002884/0.205, allocations: 237.4 kB / 453 MB, free: 26.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.2055, allocations: 66.64 kB / 453.1 MB, free: 26.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.2066, allocations: 0.787 MB / 453.9 MB, free: 25.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.2069, allocations: 240 kB / 454.1 MB, free: 25.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001517/0.207, allocations: 61.48 kB / 454.2 MB, free: 25.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.2071, allocations: 23.77 kB / 454.2 MB, free: 25.62 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2071, allocations: 0.9375 kB / 454.2 MB, free: 25.62 MB / 366.1 MB Notification: Performance of Templates: time 0.008661/0.2157, allocations: 3.797 MB / 458 MB, free: 25.24 MB / 366.1 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.68920848891139]