Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.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.001875/0.001875, allocations: 92.33 kB / 20.95 MB, free: 3.586 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.002562/0.002562, allocations: 165.2 kB / 24.27 MB, free: 280 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.518/1.518, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3165/0.3165, allocations: 29.41 MB / 290.5 MB, free: 2.422 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.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|rotor.flange.tau|rotor.lambda|rotor.lambdai",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest") translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|rotor.flange.tau|rotor.lambda|rotor.lambdai",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.786e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004499/0.004526, allocations: 2.551 MB / 371.4 MB, free: 8.73 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000861/0.005387, allocations: 430.9 kB / 371.8 MB, free: 8.309 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.472e-05/0.005472, allocations: 4 kB / 371.9 MB, free: 8.305 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.005583, allocations: 15.86 kB / 371.9 MB, free: 8.289 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.005716, allocations: 19.8 kB / 371.9 MB, free: 8.27 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.005847, allocations: 27.95 kB / 371.9 MB, free: 8.242 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.006031, allocations: 107.5 kB / 372 MB, free: 8.137 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.006136, allocations: 11.98 kB / 372 MB, free: 8.125 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.006375, allocations: 71.8 kB / 372.1 MB, free: 8.055 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.582e-05/0.00647, allocations: 31.91 kB / 372.1 MB, free: 8.023 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.006496, allocations: 8 kB / 372.1 MB, free: 8.016 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.059e-05/0.006517, allocations: 8 kB / 372.1 MB, free: 8.008 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.006544, allocations: 23.92 kB / 372.2 MB, free: 7.984 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.315e-05/0.006608, allocations: 35.89 kB / 372.2 MB, free: 7.949 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.006803, allocations: 95.67 kB / 372.3 MB, free: 7.855 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.006806, allocations: 0 / 372.3 MB, free: 7.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.006807, allocations: 0 / 372.3 MB, free: 7.855 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.433e-06/0.006813, allocations: 0 / 372.3 MB, free: 7.855 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000757/0.00757, allocations: 341.8 kB / 372.6 MB, free: 7.492 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.007609, allocations: 15.98 kB / 372.6 MB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/0.007671, allocations: 12.89 kB / 372.7 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.00795, allocations: 141.6 kB / 372.8 MB, free: 7.301 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.007962, allocations: 384 / 372.8 MB, free: 7.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.007998, allocations: 8.375 kB / 372.8 MB, free: 7.293 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.008284, allocations: 94.14 kB / 372.9 MB, free: 7.195 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.008302, allocations: 3.938 kB / 372.9 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.008319, allocations: 3.984 kB / 372.9 MB, free: 7.188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.008329, allocations: 4 kB / 372.9 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.008598, allocations: 71.94 kB / 373 MB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009134/0.009512, allocations: 367.4 kB / 373.3 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.009893, allocations: 82.66 kB / 373.4 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.01003, allocations: 36.84 kB / 373.5 MB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.01005, allocations: 0 / 373.5 MB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.01008, allocations: 42.5 kB / 373.5 MB, free: 6.539 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.01008, allocations: 4 kB / 373.5 MB, free: 6.535 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005301/0.01061, allocations: 137.7 kB / 373.6 MB, free: 6.395 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.01066, allocations: 51.41 kB / 373.7 MB, free: 6.332 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.01082, allocations: 137.8 kB / 373.8 MB, free: 6.188 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.01084, allocations: 25.7 kB / 373.8 MB, free: 6.156 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.133e-05/0.01093, allocations: 104.2 kB / 373.9 MB, free: 6.051 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.01097, allocations: 31.73 kB / 374 MB, free: 6.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.01103, allocations: 25.72 kB / 374 MB, free: 5.988 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.01122, allocations: 326.8 kB / 374.3 MB, free: 5.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.01136, allocations: 31.92 kB / 374.4 MB, free: 5.629 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.0115, allocations: 59.41 kB / 374.4 MB, free: 5.559 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/0.01204, allocations: 103.3 kB / 374.5 MB, free: 5.445 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01204, allocations: 0 / 374.5 MB, free: 5.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003432/0.01238, allocations: 129.5 kB / 374.6 MB, free: 5.312 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.0124, allocations: 8 kB / 374.6 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01241, allocations: 0 / 374.6 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.01243, allocations: 4 kB / 374.7 MB, free: 5.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.01261, allocations: 27.92 kB / 374.7 MB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.01261, allocations: 96 / 374.7 MB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.01273, allocations: 27.88 kB / 374.7 MB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.01274, allocations: 0 / 374.7 MB, free: 5.246 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * 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.0001124/0.01286, allocations: 117.8 kB / 374.8 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.01289, allocations: 7.953 kB / 374.8 MB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.01326, allocations: 130.3 kB / 375 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01327, allocations: 0 / 375 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.01327, allocations: 0 / 375 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01327, allocations: 7.938 kB / 375 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.0136, allocations: 157.2 kB / 375.1 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.0136, allocations: 0 / 375.1 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.01379, allocations: 23.98 kB / 375.1 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.01379, allocations: 0 / 375.1 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.0138, allocations: 0 / 375.1 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.0138, allocations: 0 / 375.1 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.0138, allocations: 0 / 375.1 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005503/0.01435, allocations: 267.8 kB / 375.4 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.01437, allocations: 3.953 kB / 375.4 MB, free: 4.488 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.01441, allocations: 12.02 kB / 375.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.01454, allocations: 7.953 kB / 375.4 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.0146, allocations: 3.984 kB / 375.4 MB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.01461, allocations: 4 kB / 375.4 MB, free: 4.461 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.962e-05/0.0147, allocations: 101.9 kB / 375.5 MB, free: 4.363 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0147, allocations: 0 / 375.5 MB, free: 4.363 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002592/0.01496, allocations: 24 kB / 375.6 MB, free: 4.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.000143/0.0151, allocations: 103.2 kB / 375.7 MB, free: 4.227 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.01544, allocations: 79.95 kB / 375.7 MB, free: 4.148 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01544, allocations: 0 / 375.7 MB, free: 4.148 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.01558, allocations: 43.91 kB / 375.8 MB, free: 4.105 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.01586, allocations: 8 kB / 375.8 MB, free: 4.098 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008276/0.01669, allocations: 284.8 kB / 376.1 MB, free: 3.793 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.01682, allocations: 85.39 kB / 376.1 MB, free: 3.684 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.198e-05/0.01688, allocations: 7.984 kB / 376.2 MB, free: 3.676 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.01694, allocations: 12.5 kB / 376.2 MB, free: 3.664 MB / 346.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01694, allocations: 4 kB / 376.2 MB, free: 3.66 MB / 346.7 MB Notification: Performance of Templates: time 0.004639/0.02158, allocations: 1.062 MB / 377.2 MB, free: 2.609 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.Test.RotorTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.900153891998343]