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.0009524/0.0009524, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001007/0.001007, allocations: 165 kB / 24.56 MB, free: 12 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.049/1.049, allocations: 177.1 MB / 205 MB, free: 5.609 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.238/0.238, allocations: 29.43 MB / 290.9 MB, free: 2.496 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.733e-06/1.733e-06, allocations: 0 / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.562e-05, allocations: 10.31 kB / 369.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004428/0.004454, allocations: 4.251 MB / 373.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.006255, allocations: 1.223 MB / 375.1 MB, free: 5.461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.006459, allocations: 15.88 kB / 375.1 MB, free: 5.445 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007078/0.007167, allocations: 310.6 kB / 375.5 MB, free: 5.141 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004542/0.007621, allocations: 254.5 kB / 375.7 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.007986, allocations: 167.5 kB / 375.9 MB, free: 4.727 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004938/0.00848, allocations: 0.5722 MB / 376.4 MB, free: 4.152 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.008796, allocations: 229.4 kB / 376.7 MB, free: 3.93 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000534/0.00933, allocations: 399 kB / 377.1 MB, free: 3.539 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.009616, allocations: 239.3 kB / 377.3 MB, free: 3.305 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.009652, allocations: 28 kB / 377.3 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.009859, allocations: 123.8 kB / 377.4 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.01001, allocations: 203.4 kB / 377.6 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.01013, allocations: 143.7 kB / 377.8 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004494/0.01058, allocations: 382.7 kB / 378.1 MB, free: 2.441 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.01058, allocations: 0 / 378.1 MB, free: 2.441 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.01058, allocations: 4 kB / 378.1 MB, free: 2.438 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.01059, allocations: 0 / 378.1 MB, free: 2.438 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.001062/0.01165, allocations: 0.7271 MB / 378.9 MB, free: 1.672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.01169, allocations: 15.98 kB / 378.9 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004154/0.0121, allocations: 120.6 kB / 379 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.01249, allocations: 345.8 kB / 379.3 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.01252, allocations: 25.38 kB / 379.4 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.229e-05/0.01261, allocations: 40.75 kB / 379.4 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.013, allocations: 338 kB / 379.7 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.01302, allocations: 3.953 kB / 379.7 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.01304, allocations: 19.98 kB / 379.8 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.312e-05/0.01312, allocations: 28.98 kB / 379.8 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.01334, allocations: 153.8 kB / 379.9 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.01468, allocations: 1.539 MB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.01488, allocations: 110.1 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.219e-05/0.01495, allocations: 59.42 kB / 381.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.01496, allocations: 4 kB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.01499, allocations: 45.33 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.846e-06/0.01499, allocations: 3.938 kB / 381.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008821/0.01588, allocations: 0.5578 MB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.01591, allocations: 81.05 kB / 382.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.01612, allocations: 334.2 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.01614, allocations: 25.7 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.01628, allocations: 310.7 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.01632, allocations: 63.47 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.959e-05/0.01639, allocations: 71.58 kB / 383.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.01651, allocations: 0.5119 MB / 383.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.321e-05/0.01657, allocations: 44.11 kB / 383.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.01669, allocations: 187.8 kB / 383.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.0169, allocations: 250.3 kB / 384.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.0169, allocations: 11.88 kB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004575/0.01736, allocations: 328.8 kB / 384.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.01738, allocations: 8 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002561/0.01764, allocations: 167.7 kB / 384.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003811/0.01802, allocations: 119.7 kB / 384.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.01815, allocations: 51.91 kB / 384.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.02015, allocations: 2.352 MB / 387.1 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.02025, allocations: 15.98 kB / 387.1 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.02027, allocations: 20 kB / 387.2 MB, free: 8.836 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.0001101/0.02038, allocations: 172.5 kB / 387.3 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.02042, allocations: 39.75 kB / 387.4 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.02065, allocations: 171.4 kB / 387.5 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.02065, allocations: 4 kB / 387.5 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.02065, allocations: 0 / 387.5 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.02066, allocations: 7.969 kB / 387.6 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000593/0.02125, allocations: 0.5813 MB / 388.1 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.02125, allocations: 4 kB / 388.1 MB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.02137, allocations: 39.91 kB / 388.2 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.304e-05/0.02143, allocations: 27.67 kB / 388.2 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.02145, allocations: 7.938 kB / 388.2 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000771/0.02222, allocations: 1.884 MB / 390.1 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.02222, allocations: 4 kB / 390.1 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.02251, allocations: 374.2 kB / 390.5 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.02253, allocations: 23.81 kB / 390.5 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.02255, allocations: 7.984 kB / 390.5 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.02263, allocations: 12.12 kB / 390.5 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.02266, allocations: 15.97 kB / 390.5 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.02267, allocations: 4 kB / 390.5 MB, free: 5.238 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.02279, allocations: 219 kB / 390.7 MB, free: 5.023 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02279, allocations: 0 / 390.7 MB, free: 5.023 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003112/0.02311, allocations: 91.94 kB / 390.8 MB, free: 4.934 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.0001047/0.02321, allocations: 103.2 kB / 390.9 MB, free: 4.824 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004531/0.02366, allocations: 375.4 kB / 391.3 MB, free: 4.441 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.02367, allocations: 0 / 391.3 MB, free: 4.441 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.02386, allocations: 268.3 kB / 391.6 MB, free: 4.156 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.02417, allocations: 60.81 kB / 391.6 MB, free: 4.098 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.02544, allocations: 0.785 MB / 392.4 MB, free: 3.266 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.0258, allocations: 136.6 kB / 392.5 MB, free: 3.113 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.02591, allocations: 50.92 kB / 392.6 MB, free: 3.066 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.02596, allocations: 20.5 kB / 392.6 MB, free: 3.047 MB / 362.7 MB Notification: Performance of SimCode: time 1.283e-06/0.02596, allocations: 4 kB / 392.6 MB, free: 3.043 MB / 362.7 MB Notification: Performance of Templates: time 0.006265/0.03222, allocations: 4.121 MB / 396.7 MB, free: 14.97 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.157811509910971]