Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.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.001008/0.001008, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001145/0.001145, 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.019/1.019, allocations: 177.1 MB / 205 MB, free: 5.641 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.2196/0.2196, allocations: 29.42 MB / 290.9 MB, free: 2.441 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.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.126e-06/3.126e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/3.068e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.005649/0.00568, allocations: 4.074 MB / 373.7 MB, free: 6.906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.008067, allocations: 1.344 MB / 375 MB, free: 5.559 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002916/0.008358, allocations: 19.88 kB / 375.1 MB, free: 5.539 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008712/0.009229, allocations: 278.7 kB / 375.3 MB, free: 5.266 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006358/0.009865, allocations: 262.5 kB / 375.6 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007485/0.01061, allocations: 251.2 kB / 375.8 MB, free: 4.762 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007226/0.01134, allocations: 0.565 MB / 376.4 MB, free: 4.195 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004224/0.01176, allocations: 225.7 kB / 376.6 MB, free: 3.977 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000631/0.01239, allocations: 383 kB / 377 MB, free: 3.602 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004539/0.01284, allocations: 327.2 kB / 377.3 MB, free: 3.281 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.215e-05/0.01292, allocations: 36 kB / 377.3 MB, free: 3.246 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004772/0.01339, allocations: 235.5 kB / 377.6 MB, free: 3.016 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.01365, allocations: 251.4 kB / 377.8 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.01386, allocations: 179.6 kB / 378 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007595/0.01461, allocations: 0.5451 MB / 378.5 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.01462, allocations: 0 / 378.5 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01462, allocations: 0 / 378.5 MB, free: 2.047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.01463, allocations: 4 kB / 378.5 MB, free: 2.043 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001226/0.01586, allocations: 0.8094 MB / 379.4 MB, free: 1.199 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.0159, allocations: 11.98 kB / 379.4 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007423/0.01664, allocations: 172.4 kB / 379.5 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/0.01717, allocations: 351.1 kB / 379.9 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.0172, allocations: 29.38 kB / 379.9 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.01732, allocations: 44.55 kB / 380 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007144/0.01803, allocations: 473.5 kB / 380.4 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.01805, allocations: 7.938 kB / 380.4 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.0181, allocations: 16 kB / 380.4 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001604/0.01826, allocations: 53.02 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/0.01888, allocations: 305.6 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002886/0.02177, allocations: 2.477 MB / 383.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.02215, allocations: 198.4 kB / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.02233, allocations: 95.41 kB / 383.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.02236, allocations: 19.92 kB / 383.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.0224, allocations: 37.39 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.537e-06/0.0224, allocations: 0 / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001604/0.024, allocations: 0.8456 MB / 384.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.02405, allocations: 85.09 kB / 384.5 MB, free: 11.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.02434, allocations: 338.2 kB / 384.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.02437, allocations: 29.7 kB / 384.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.02454, allocations: 306.9 kB / 385.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.02466, allocations: 158.7 kB / 385.4 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.0248, allocations: 107.8 kB / 385.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.02498, allocations: 0.5235 MB / 386 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.02515, allocations: 77.11 kB / 386.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.0255, allocations: 314.5 kB / 386.4 MB, free: 9.754 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004461/0.02595, allocations: 441.7 kB / 386.8 MB, free: 9.227 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.02595, allocations: 4 kB / 386.8 MB, free: 9.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005476/0.0265, allocations: 425.8 kB / 387.2 MB, free: 8.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.02653, allocations: 8 kB / 387.2 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.02654, allocations: 8.688 kB / 387.2 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.02656, allocations: 15.94 kB / 387.2 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.02685, allocations: 115.8 kB / 387.4 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.02687, allocations: 11.94 kB / 387.4 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.02702, allocations: 19.98 kB / 387.4 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.02706, allocations: 23.98 kB / 387.4 MB, free: 8.602 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.0272, allocations: 184.5 kB / 387.6 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/0.02729, allocations: 55.7 kB / 387.6 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004066/0.0277, allocations: 288.7 kB / 387.9 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.448e-05/0.02772, allocations: 23.91 kB / 388 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.02773, allocations: 4 kB / 388 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.02773, allocations: 0 / 388 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009745/0.02871, allocations: 0.8113 MB / 388.8 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.02871, allocations: 0 / 388.8 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.02891, allocations: 79.83 kB / 388.8 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.02891, allocations: 0 / 388.8 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.02893, allocations: 15.98 kB / 388.9 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.02894, allocations: 8.094 kB / 388.9 MB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.02894, allocations: 0 / 388.9 MB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005277/0.02947, allocations: 0.551 MB / 389.4 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.0295, allocations: 31.7 kB / 389.5 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.02954, allocations: 15.92 kB / 389.5 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.893e-05/0.02963, allocations: 15.98 kB / 389.5 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.02967, allocations: 23.97 kB / 389.5 MB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.02969, allocations: 11.98 kB / 389.5 MB, free: 6.383 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001139/0.02981, allocations: 219 kB / 389.7 MB, free: 6.168 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02981, allocations: 0 / 389.7 MB, free: 6.168 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000322/0.03013, allocations: 112 kB / 389.8 MB, free: 6.059 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (33): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002014/0.03033, allocations: 131.1 kB / 390 MB, free: 5.922 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003559/0.03069, allocations: 286.8 kB / 390.3 MB, free: 5.641 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.03069, allocations: 64 / 390.3 MB, free: 5.641 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.03082, allocations: 135.5 kB / 390.4 MB, free: 5.504 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.03117, allocations: 71.91 kB / 390.5 MB, free: 5.434 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.03248, allocations: 0.9241 MB / 391.4 MB, free: 4.461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.151e-05/0.03258, allocations: 145.7 kB / 391.5 MB, free: 4.297 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001748/0.03275, allocations: 99.16 kB / 391.6 MB, free: 4.199 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.03282, allocations: 36.48 kB / 391.7 MB, free: 4.164 MB / 362.7 MB Notification: Performance of SimCode: time 8.91e-07/0.03282, allocations: 0 / 391.7 MB, free: 4.164 MB / 362.7 MB Notification: Performance of Templates: time 0.006056/0.03888, allocations: 4.014 MB / 395.7 MB, free: 228 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceSynchron.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.1439114417880774]