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.001349/0.001349, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001664/0.001664, allocations: 166.4 kB / 25.61 MB, free: 8.578 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.038/1.038, allocations: 177.1 MB / 206 MB, free: 4.461 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.1388/0.1388, allocations: 29.44 MB / 292 MB, free: 2.621 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.046e-06/3.046e-06, allocations: 3.938 kB / 370.9 MB, free: 32.35 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.285e-05, allocations: 2.312 kB / 370.9 MB, free: 32.35 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.004969/0.005002, allocations: 4.05 MB / 374.9 MB, free: 28.28 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.006681, allocations: 1.34 MB / 376.3 MB, free: 26.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.0069, allocations: 23.81 kB / 376.3 MB, free: 26.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005583/0.007459, allocations: 278.7 kB / 376.6 MB, free: 26.64 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004329/0.007891, allocations: 250.5 kB / 376.8 MB, free: 26.39 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006051/0.008497, allocations: 255.2 kB / 377 MB, free: 26.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005479/0.009044, allocations: 0.565 MB / 377.6 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.009329, allocations: 225.7 kB / 377.8 MB, free: 25.35 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004605/0.00979, allocations: 386.9 kB / 378.2 MB, free: 24.97 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.01007, allocations: 311.2 kB / 378.5 MB, free: 24.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.01011, allocations: 44 kB / 378.6 MB, free: 24.62 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003542/0.01046, allocations: 239.4 kB / 378.8 MB, free: 24.39 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.01065, allocations: 251.4 kB / 379 MB, free: 24.14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.01078, allocations: 183.6 kB / 379.2 MB, free: 23.96 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000621/0.0114, allocations: 0.5412 MB / 379.8 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.01141, allocations: 0 / 379.8 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.01141, allocations: 3.938 kB / 379.8 MB, free: 23.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.01142, allocations: 0 / 379.8 MB, free: 23.41 MB / 314.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.0008469/0.01227, allocations: 0.7856 MB / 380.5 MB, free: 22.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.0123, allocations: 8.031 kB / 380.6 MB, free: 22.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004417/0.01274, allocations: 144.5 kB / 380.7 MB, free: 22.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.01306, allocations: 335.1 kB / 381 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.01308, allocations: 29.38 kB / 381 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-05/0.01316, allocations: 40.56 kB / 381.1 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.01351, allocations: 441.3 kB / 381.5 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.01353, allocations: 0 / 381.5 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.01356, allocations: 19.98 kB / 381.5 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.173e-05/0.01365, allocations: 44.97 kB / 381.6 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002615/0.01391, allocations: 242.7 kB / 381.8 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.01545, allocations: 2.419 MB / 384.2 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.01564, allocations: 172.8 kB / 384.4 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.149e-05/0.01571, allocations: 91.61 kB / 384.5 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.01574, allocations: 11.94 kB / 384.5 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.01575, allocations: 45.59 kB / 384.6 MB, free: 18.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.944e-06/0.01576, allocations: 0 / 384.6 MB, free: 18.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.000756/0.01651, allocations: 0.6625 MB / 385.2 MB, free: 17.65 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.01654, allocations: 81.11 kB / 385.3 MB, free: 17.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.01667, allocations: 346.1 kB / 385.6 MB, free: 17.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.01668, allocations: 33.64 kB / 385.7 MB, free: 17.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.01676, allocations: 310.9 kB / 386 MB, free: 16.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.662e-05/0.01682, allocations: 158.6 kB / 386.1 MB, free: 16.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.542e-05/0.0169, allocations: 107.7 kB / 386.2 MB, free: 16.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.598e-05/0.01695, allocations: 0.5235 MB / 386.8 MB, free: 16.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-05/0.01702, allocations: 61.09 kB / 386.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.01714, allocations: 296 kB / 387.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.01736, allocations: 401.7 kB / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01736, allocations: 0 / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003369/0.0177, allocations: 389.6 kB / 387.9 MB, free: 14.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.01772, allocations: 8 kB / 387.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.01773, allocations: 8 kB / 387.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.01774, allocations: 8.625 kB / 387.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.01795, allocations: 99.89 kB / 388 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.01795, allocations: 15.94 kB / 388 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.01806, allocations: 16 kB / 388 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.01808, allocations: 16 kB / 388 MB, free: 14.55 MB / 314.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 9.217e-05/0.01818, allocations: 188.4 kB / 388.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/0.01824, allocations: 51.77 kB / 388.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.0185, allocations: 277.6 kB / 388.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.01851, allocations: 15.94 kB / 388.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.01851, allocations: 0 / 388.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01852, allocations: 3.984 kB / 388.6 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006225/0.01914, allocations: 0.7065 MB / 389.3 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01914, allocations: 0 / 389.3 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.01931, allocations: 63.91 kB / 389.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01931, allocations: 7.938 kB / 389.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.01932, allocations: 15.98 kB / 389.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.01933, allocations: 0 / 389.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01933, allocations: 4 kB / 389.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.01968, allocations: 0.5042 MB / 389.9 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/0.0197, allocations: 31.77 kB / 389.9 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.01973, allocations: 11.94 kB / 389.9 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.01982, allocations: 8 kB / 389.9 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.01985, allocations: 19.95 kB / 389.9 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.01986, allocations: 12.05 kB / 389.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.482e-05/0.01993, allocations: 206.9 kB / 390.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01993, allocations: 0 / 390.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003064/0.02024, allocations: 111.9 kB / 390.3 MB, free: 12.23 MB / 314.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.000164/0.0204, allocations: 143.1 kB / 390.4 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.02064, allocations: 246.8 kB / 390.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02064, allocations: 0 / 390.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.498e-05/0.02072, allocations: 119.9 kB / 390.8 MB, free: 11.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.02103, allocations: 72.06 kB / 390.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.02207, allocations: 0.9128 MB / 391.7 MB, free: 10.69 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.557e-05/0.02214, allocations: 149.6 kB / 391.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.02226, allocations: 51.25 kB / 391.9 MB, free: 10.47 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.02238, allocations: 134.2 kB / 392.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02238, allocations: 0 / 392.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of Templates: time 0.005526/0.0279, allocations: 4.194 MB / 396.3 MB, free: 6.227 MB / 314.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.4548621717840433]