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.0007294/0.0007294, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009559/0.001685, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007103/0.0007103, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000884/0.001594, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9824/0.9824, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09234/1.075, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1373/0.1373, allocations: 29.44 MB / 273.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1192/0.2565, allocations: 9.526 MB / 283 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.283e-05, allocations: 5.062 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006829/0.006852, allocations: 4.337 MB / 288.6 MB, free: 8.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.009294, allocations: 1.245 MB / 289.8 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000264/0.009558, allocations: 16.75 kB / 289.8 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007501/0.01031, allocations: 374.8 kB / 290.2 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005324/0.01084, allocations: 267 kB / 290.5 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.01127, allocations: 172.3 kB / 290.6 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007697/0.01204, allocations: 0.5927 MB / 291.2 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003786/0.01242, allocations: 238.3 kB / 291.5 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007212/0.01314, allocations: 423.1 kB / 291.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004027/0.01354, allocations: 241.4 kB / 292.1 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.715e-05/0.0136, allocations: 31.81 kB / 292.1 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.0139, allocations: 126.6 kB / 292.3 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.01409, allocations: 192.5 kB / 292.5 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.01424, allocations: 126.8 kB / 292.6 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005618/0.01481, allocations: 367.3 kB / 292.9 MB, free: 5.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-05/0.01483, allocations: 5.281 kB / 292.9 MB, free: 5.754 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.01483, allocations: 0 / 292.9 MB, free: 5.754 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.582e-05/0.01485, allocations: 0 / 292.9 MB, free: 5.754 MB / 282.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.0009468/0.0158, allocations: 0.6901 MB / 293.6 MB, free: 5.262 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.01584, allocations: 8.406 kB / 293.6 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004693/0.0163, allocations: 188.8 kB / 293.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.01672, allocations: 310 kB / 294.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.01674, allocations: 25.38 kB / 294.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-05/0.01683, allocations: 48.72 kB / 294.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.01716, allocations: 303.7 kB / 294.5 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.01717, allocations: 0 / 294.5 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.0172, allocations: 16 kB / 294.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.045e-05/0.01726, allocations: 24.98 kB / 294.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.0174, allocations: 106.9 kB / 294.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.01854, allocations: 1.148 MB / 295.8 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.01869, allocations: 83.89 kB / 295.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.892e-05/0.01875, allocations: 45.77 kB / 295.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.01876, allocations: 4 kB / 295.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.01879, allocations: 34.56 kB / 296 MB, free: 2.914 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 2.184e-06/0.01879, allocations: 0 / 296 MB, free: 2.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007691/0.01956, allocations: 396.2 kB / 296.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.0196, allocations: 81.11 kB / 296.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.01975, allocations: 274.8 kB / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.01977, allocations: 29.7 kB / 296.7 MB, free: 2.082 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.887e-05/0.01987, allocations: 236.4 kB / 296.9 MB, free: 1.848 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.01991, allocations: 71.41 kB / 297 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-05/0.01998, allocations: 61.91 kB / 297.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.02006, allocations: 338.8 kB / 297.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.781e-05/0.0201, allocations: 28.27 kB / 297.4 MB, free: 1.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.108e-05/0.02018, allocations: 125.3 kB / 297.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.02034, allocations: 191.5 kB / 297.7 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.02034, allocations: 0 / 297.7 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003411/0.02068, allocations: 269 kB / 298 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.0207, allocations: 8 kB / 298 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001828/0.02088, allocations: 125.2 kB / 298.1 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000302/0.02118, allocations: 111.6 kB / 298.2 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.02135, allocations: 63.84 kB / 298.3 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.02269, allocations: 1.739 MB / 300 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.02281, allocations: 8 kB / 300.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.02283, allocations: 16.16 kB / 300.1 MB, free: 14.5 MB / 298.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.000132/0.02296, allocations: 136.4 kB / 300.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.023, allocations: 19.98 kB / 300.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.0232, allocations: 147.6 kB / 300.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.0232, allocations: 4 kB / 300.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.0232, allocations: 0 / 300.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.02321, allocations: 3.938 kB / 300.4 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.0237, allocations: 403.8 kB / 300.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02371, allocations: 4.062 kB / 300.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.02386, allocations: 53.45 kB / 300.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.02388, allocations: 23.8 kB / 300.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.993e-05/0.02394, allocations: 30.5 kB / 300.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.02396, allocations: 4 kB / 300.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000573/0.02453, allocations: 1.286 MB / 302.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.02453, allocations: 4 kB / 302.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.02474, allocations: 275.1 kB / 302.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.02477, allocations: 7.938 kB / 302.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.02484, allocations: 4 kB / 302.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.02486, allocations: 19.98 kB / 302.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.02487, allocations: 8 kB / 302.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.356e-05/0.02494, allocations: 96.61 kB / 302.6 MB, free: 11.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02494, allocations: 0 / 302.6 MB, free: 11.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003269/0.02527, allocations: 92 kB / 302.7 MB, free: 11.72 MB / 298.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.0001098/0.02538, allocations: 84.36 kB / 302.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003658/0.02575, allocations: 287.2 kB / 303 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.865e-05/0.02577, allocations: 4 kB / 303 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.02591, allocations: 193.2 kB / 303.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.0262, allocations: 101.3 kB / 303.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006097/0.0323, allocations: 0.7574 MB / 304.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.456e-05/0.03239, allocations: 136.5 kB / 304.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000124/0.03251, allocations: 35 kB / 304.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.03264, allocations: 111.3 kB / 304.4 MB, free: 9.938 MB / 298.7 MB Notification: Performance of SimCode: time 1.683e-06/0.03264, allocations: 0 / 304.4 MB, free: 9.938 MB / 298.7 MB Notification: Performance of Templates: time 0.00706/0.0397, allocations: 4.476 MB / 308.8 MB, free: 5.543 MB / 298.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 -ignoreHideResult -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: 2.7620096625760198]