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.001478/0.001478, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001173/0.001173, allocations: 167.6 kB / 24.82 MB, free: 9.266 MB / 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.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 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.2876/0.2876, allocations: 29.43 MB / 291.2 MB, free: 2.461 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.56e-05, allocations: 2.312 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006266/0.006291, allocations: 4.22 MB / 374.3 MB, free: 6.473 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.008718, allocations: 1.203 MB / 375.5 MB, free: 5.266 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002153/0.008933, allocations: 19.81 kB / 375.6 MB, free: 5.246 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006773/0.00961, allocations: 310.5 kB / 375.9 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004422/0.01005, allocations: 246.6 kB / 376.1 MB, free: 4.699 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.01045, allocations: 175.4 kB / 376.3 MB, free: 4.527 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005451/0.01099, allocations: 0.5644 MB / 376.8 MB, free: 3.961 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003126/0.01131, allocations: 233.4 kB / 377.1 MB, free: 3.734 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005586/0.01186, allocations: 398.9 kB / 377.5 MB, free: 3.344 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.01217, allocations: 231.3 kB / 377.7 MB, free: 3.117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.01221, allocations: 28 kB / 377.7 MB, free: 3.09 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002325/0.01244, allocations: 131.7 kB / 377.8 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.01262, allocations: 199.5 kB / 378 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.01274, allocations: 147.7 kB / 378.2 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000461/0.0132, allocations: 382.6 kB / 378.6 MB, free: 2.246 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.01321, allocations: 4 kB / 378.6 MB, free: 2.242 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01321, allocations: 0 / 378.6 MB, free: 2.242 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.01321, allocations: 3.938 kB / 378.6 MB, free: 2.238 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.0006941/0.01391, allocations: 0.7232 MB / 379.3 MB, free: 1.477 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.01395, allocations: 11.98 kB / 379.3 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/0.01429, allocations: 116.6 kB / 379.4 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.01462, allocations: 325.9 kB / 379.7 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.01464, allocations: 33.3 kB / 379.8 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.68e-05/0.01472, allocations: 48.73 kB / 379.8 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.01502, allocations: 309.9 kB / 380.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.01504, allocations: 11.94 kB / 380.1 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.01506, allocations: 12 kB / 380.1 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.364e-05/0.01511, allocations: 24.98 kB / 380.2 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.01526, allocations: 118.8 kB / 380.3 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.0165, allocations: 1.458 MB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.01664, allocations: 102.1 kB / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.712e-05/0.01669, allocations: 59.34 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.01671, allocations: 7.938 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.01673, allocations: 45.39 kB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.01673, allocations: 0 / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006552/0.01739, allocations: 431.9 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.01742, allocations: 77.11 kB / 382.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.01761, allocations: 330.1 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.01762, allocations: 33.7 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.01776, allocations: 310.8 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.0178, allocations: 71.45 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.775e-05/0.01787, allocations: 67.56 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.01802, allocations: 0.5157 MB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.287e-05/0.01806, allocations: 36.11 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.01819, allocations: 179.7 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.01839, allocations: 238.5 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01839, allocations: 0 / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003867/0.01877, allocations: 316.4 kB / 384.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.01879, allocations: 10.5 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002022/0.01899, allocations: 156.1 kB / 384.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002849/0.01928, allocations: 111.6 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.01938, allocations: 59.91 kB / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.02079, allocations: 2.281 MB / 387.1 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.169e-05/0.02088, allocations: 12 kB / 387.1 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.0209, allocations: 8 kB / 387.1 MB, free: 9.105 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.0001125/0.02101, allocations: 180.4 kB / 387.3 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.02105, allocations: 39.75 kB / 387.3 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.02124, allocations: 155.4 kB / 387.5 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.02124, allocations: 4 kB / 387.5 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.02124, allocations: 4 kB / 387.5 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.02125, allocations: 0 / 387.5 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.02178, allocations: 0.5163 MB / 388 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.02178, allocations: 0 / 388 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.825e-05/0.02188, allocations: 31.98 kB / 388.1 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.937e-05/0.02193, allocations: 23.67 kB / 388.1 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.02194, allocations: 8.125 kB / 388.1 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007739/0.02271, allocations: 1.845 MB / 389.9 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.02272, allocations: 160 / 389.9 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.02298, allocations: 358.4 kB / 390.3 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.364e-05/0.023, allocations: 23.81 kB / 390.3 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.02302, allocations: 11.94 kB / 390.3 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.02309, allocations: 7.984 kB / 390.3 MB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.02312, allocations: 15.92 kB / 390.3 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.02312, allocations: 0 / 390.3 MB, free: 5.676 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.02323, allocations: 214.9 kB / 390.5 MB, free: 5.465 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02323, allocations: 0 / 390.5 MB, free: 5.465 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002823/0.02351, allocations: 88 kB / 390.6 MB, free: 5.379 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 8.271e-05/0.02359, allocations: 103.2 kB / 390.7 MB, free: 5.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003538/0.02395, allocations: 346.8 kB / 391.1 MB, free: 4.914 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.02395, allocations: 0.875 kB / 391.1 MB, free: 4.914 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.02412, allocations: 253.2 kB / 391.3 MB, free: 4.641 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.0244, allocations: 73.23 kB / 391.4 MB, free: 4.574 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.02565, allocations: 0.7742 MB / 392.2 MB, free: 3.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.02576, allocations: 140.5 kB / 392.3 MB, free: 3.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.388e-05/0.02585, allocations: 38.95 kB / 392.3 MB, free: 3.559 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.02599, allocations: 118.2 kB / 392.5 MB, free: 3.441 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02599, allocations: 0 / 392.5 MB, free: 3.441 MB / 362.7 MB Notification: Performance of Templates: time 0.006428/0.03241, allocations: 4.205 MB / 396.7 MB, free: 15.3 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.219064059201628]