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.001081/0.001081, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00127/0.00127, allocations: 164.8 kB / 24.99 MB, free: 8.793 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.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2311/0.2311, allocations: 29.41 MB / 291.2 MB, free: 2.5 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.[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.683e-06/1.683e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.358e-05, allocations: 5.688 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004266/0.00429, allocations: 4.716 MB / 374.3 MB, free: 6.57 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.005972, allocations: 1.32 MB / 375.7 MB, free: 5.246 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002443/0.006217, allocations: 19.81 kB / 375.7 MB, free: 5.227 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008088/0.007025, allocations: 402.2 kB / 376.1 MB, free: 4.832 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004581/0.007483, allocations: 266.5 kB / 376.3 MB, free: 4.57 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.00787, allocations: 167.5 kB / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000491/0.008361, allocations: 0.5761 MB / 377.1 MB, free: 3.828 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003284/0.008689, allocations: 233.4 kB / 377.3 MB, free: 3.602 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004185/0.009107, allocations: 358.9 kB / 377.7 MB, free: 3.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003458/0.009453, allocations: 251.3 kB / 377.9 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.009495, allocations: 32 kB / 377.9 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.009722, allocations: 139.6 kB / 378.1 MB, free: 2.836 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.009865, allocations: 199.5 kB / 378.3 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.01, allocations: 147.7 kB / 378.4 MB, free: 2.496 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.01042, allocations: 382.7 kB / 378.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.01043, allocations: 4 kB / 378.8 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01043, allocations: 7.875 kB / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.01043, allocations: 4 kB / 378.8 MB, free: 2.105 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.0008121/0.01125, allocations: 0.731 MB / 379.5 MB, free: 1.336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.01129, allocations: 11.98 kB / 379.5 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004369/0.01172, allocations: 120.6 kB / 379.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.01219, allocations: 366.7 kB / 380 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.01221, allocations: 25.38 kB / 380 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.09e-05/0.0123, allocations: 40.75 kB / 380.1 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.01269, allocations: 342 kB / 380.4 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.0127, allocations: 4 kB / 380.4 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.01273, allocations: 16 kB / 380.4 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.747e-05/0.01279, allocations: 24.98 kB / 380.5 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.01303, allocations: 161.8 kB / 380.6 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.0143, allocations: 1.535 MB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.0145, allocations: 110.1 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.904e-05/0.01458, allocations: 59.42 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.01459, allocations: 0 / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.01462, allocations: 41.39 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.01462, allocations: 0 / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008967/0.01552, allocations: 0.5616 MB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.01556, allocations: 81.11 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.01577, allocations: 330.2 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.01579, allocations: 33.7 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.01593, allocations: 306.7 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.01597, allocations: 63.48 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.851e-05/0.01604, allocations: 71.58 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.01617, allocations: 0.5119 MB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.12e-05/0.01624, allocations: 48.11 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.01637, allocations: 187.7 kB / 384.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.01658, allocations: 250.3 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01658, allocations: 3.938 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004733/0.01706, allocations: 332.7 kB / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.01707, allocations: 4 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002641/0.01733, allocations: 175.6 kB / 385.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003465/0.01768, allocations: 115.8 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.01782, allocations: 59.91 kB / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.01964, allocations: 2.348 MB / 387.8 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.01975, allocations: 19.92 kB / 387.8 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.01976, allocations: 12 kB / 387.8 MB, free: 8.488 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.0001297/0.01989, allocations: 172.5 kB / 388 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.01994, allocations: 39.75 kB / 388 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.02017, allocations: 171.5 kB / 388.2 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.02017, allocations: 0 / 388.2 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.02017, allocations: 0 / 388.2 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.02018, allocations: 3.984 kB / 388.2 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006137/0.02079, allocations: 0.59 MB / 388.8 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.02079, allocations: 4 kB / 388.8 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.02091, allocations: 35.97 kB / 388.8 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.236e-05/0.02097, allocations: 23.67 kB / 388.9 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.02099, allocations: 4 kB / 388.9 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008192/0.02181, allocations: 1.892 MB / 390.8 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.02181, allocations: 0 / 390.8 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.02211, allocations: 380.8 kB / 391.1 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.02214, allocations: 27.81 kB / 391.2 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.02216, allocations: 4.125 kB / 391.2 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.02224, allocations: 15.98 kB / 391.2 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.02227, allocations: 11.92 kB / 391.2 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.02228, allocations: 11.98 kB / 391.2 MB, free: 4.891 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.0224, allocations: 219 kB / 391.4 MB, free: 4.676 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0224, allocations: 0 / 391.4 MB, free: 4.676 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000322/0.02272, allocations: 91.94 kB / 391.5 MB, free: 4.586 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.0001141/0.02284, allocations: 95.25 kB / 391.6 MB, free: 4.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004671/0.0233, allocations: 374.8 kB / 392 MB, free: 4.102 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.0233, allocations: 0 / 392 MB, free: 4.102 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.0235, allocations: 269.9 kB / 392.2 MB, free: 3.812 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.02383, allocations: 64.05 kB / 392.3 MB, free: 3.754 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.02514, allocations: 0.7703 MB / 393.1 MB, free: 2.934 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.201e-05/0.02523, allocations: 140.5 kB / 393.2 MB, free: 2.777 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.02534, allocations: 50.94 kB / 393.2 MB, free: 2.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.02538, allocations: 28.44 kB / 393.3 MB, free: 2.703 MB / 362.7 MB Notification: Performance of SimCode: time 1.513e-06/0.02538, allocations: 0 / 393.3 MB, free: 2.703 MB / 362.7 MB Notification: Performance of Templates: time 0.005994/0.03138, allocations: 3.961 MB / 397.2 MB, free: 14.8 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.1970627270638943]