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.001139/0.001139, 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.001295/0.001295, allocations: 167.6 kB / 25.61 MB, free: 8.902 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 0.9406/0.9406, allocations: 177.1 MB / 206 MB, free: 4.52 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.1424/0.1424, allocations: 29.43 MB / 292 MB, free: 2.645 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.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.824e-06/1.824e-06, allocations: 0 / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/3.009e-05, allocations: 5.375 kB / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004039/0.004069, allocations: 2.634 MB / 373.5 MB, free: 29.69 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007545/0.004823, allocations: 450.7 kB / 373.9 MB, free: 29.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.004926, allocations: 0 / 373.9 MB, free: 29.25 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.005042, allocations: 11.86 kB / 374 MB, free: 29.23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.005192, allocations: 19.8 kB / 374 MB, free: 29.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.005326, allocations: 31.95 kB / 374 MB, free: 29.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.005498, allocations: 107.5 kB / 374.1 MB, free: 29.08 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.005615, allocations: 12 kB / 374.1 MB, free: 29.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.005874, allocations: 63.81 kB / 374.2 MB, free: 29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.005976, allocations: 39.89 kB / 374.2 MB, free: 28.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.006001, allocations: 8 kB / 374.2 MB, free: 28.96 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.693e-05/0.006017, allocations: 8 kB / 374.2 MB, free: 28.95 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.006044, allocations: 15.92 kB / 374.3 MB, free: 28.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.006085, allocations: 35.89 kB / 374.3 MB, free: 28.9 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.006236, allocations: 67.73 kB / 374.4 MB, free: 28.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.006239, allocations: 4 kB / 374.4 MB, free: 28.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.006239, allocations: 0 / 374.4 MB, free: 28.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.006244, allocations: 0 / 374.4 MB, free: 28.83 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005278/0.006771, allocations: 440.1 kB / 374.8 MB, free: 28.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.006816, allocations: 8.031 kB / 374.8 MB, free: 28.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.006867, allocations: 16.89 kB / 374.8 MB, free: 28.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.007031, allocations: 148.3 kB / 375 MB, free: 28.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.007045, allocations: 4.375 kB / 375 MB, free: 28.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.007072, allocations: 8.375 kB / 375 MB, free: 28.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.007248, allocations: 81.58 kB / 375.1 MB, free: 28.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.007263, allocations: 3.938 kB / 375.1 MB, free: 28.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.007277, allocations: 8 kB / 375.1 MB, free: 28.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.007284, allocations: 0 / 375.1 MB, free: 28.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.867e-05/0.007352, allocations: 15.98 kB / 375.1 MB, free: 28.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006957/0.008048, allocations: 379.3 kB / 375.5 MB, free: 27.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.008287, allocations: 75.12 kB / 375.5 MB, free: 27.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.008333, allocations: 11.69 kB / 375.5 MB, free: 27.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.008352, allocations: 7.984 kB / 375.5 MB, free: 27.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.008375, allocations: 41.33 kB / 375.6 MB, free: 27.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.008377, allocations: 0 / 375.6 MB, free: 27.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002153/0.008592, allocations: 65.64 kB / 375.7 MB, free: 27.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.008619, allocations: 51.41 kB / 375.7 MB, free: 27.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.008704, allocations: 196.2 kB / 375.9 MB, free: 27.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.008717, allocations: 29.7 kB / 375.9 MB, free: 27.1 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.008779, allocations: 150.9 kB / 376.1 MB, free: 26.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.008804, allocations: 35.73 kB / 376.1 MB, free: 26.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.008858, allocations: 27.38 kB / 376.1 MB, free: 26.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.936e-05/0.008937, allocations: 0.4961 MB / 376.6 MB, free: 26.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.154e-05/0.008969, allocations: 11.94 kB / 376.6 MB, free: 26.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.821e-05/0.009017, allocations: 42.73 kB / 376.7 MB, free: 26.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.148e-05/0.009109, allocations: 66.66 kB / 376.7 MB, free: 26.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.009111, allocations: 0 / 376.7 MB, free: 26.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001629/0.009274, allocations: 81.58 kB / 376.8 MB, free: 26.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.009291, allocations: 8 kB / 376.8 MB, free: 26.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.009297, allocations: 0 / 376.8 MB, free: 26.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.009308, allocations: 0 / 376.8 MB, free: 26.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.009437, allocations: 27.92 kB / 376.9 MB, free: 26.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.009442, allocations: 4.391 kB / 376.9 MB, free: 26.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.579e-05/0.009518, allocations: 15.94 kB / 376.9 MB, free: 26.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.009528, allocations: 0 / 376.9 MB, free: 26.08 MB / 314.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 7.154e-05/0.009599, allocations: 160.5 kB / 377 MB, free: 25.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.009636, allocations: 16.05 kB / 377.1 MB, free: 25.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.0098, allocations: 94.28 kB / 377.1 MB, free: 25.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.009803, allocations: 0 / 377.1 MB, free: 25.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.009805, allocations: 0 / 377.1 MB, free: 25.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.009809, allocations: 0 / 377.1 MB, free: 25.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.01, allocations: 133.1 kB / 377.3 MB, free: 25.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01001, allocations: 0 / 377.3 MB, free: 25.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.01011, allocations: 19.98 kB / 377.3 MB, free: 25.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.01011, allocations: 4 kB / 377.3 MB, free: 25.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.01013, allocations: 0 / 377.3 MB, free: 25.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.01013, allocations: 0 / 377.3 MB, free: 25.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.01013, allocations: 7.984 kB / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.01036, allocations: 235.9 kB / 377.5 MB, free: 25.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.01037, allocations: 3.953 kB / 377.5 MB, free: 25.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.01039, allocations: 7.984 kB / 377.5 MB, free: 25.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.01049, allocations: 7.953 kB / 377.6 MB, free: 25.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.01053, allocations: 7.984 kB / 377.6 MB, free: 25.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.01053, allocations: 0 / 377.6 MB, free: 25.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.198e-05/0.01058, allocations: 139.2 kB / 377.7 MB, free: 25.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01058, allocations: 0 / 377.7 MB, free: 25.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.01084, allocations: 24 kB / 377.7 MB, free: 25.17 MB / 314.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 9.102e-05/0.01093, allocations: 95.28 kB / 377.8 MB, free: 25.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.01106, allocations: 47.53 kB / 377.9 MB, free: 25.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01106, allocations: 0 / 377.9 MB, free: 25.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.788e-05/0.01111, allocations: 27.62 kB / 377.9 MB, free: 24.99 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.0114, allocations: 17.8 kB / 377.9 MB, free: 24.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.01242, allocations: 311.5 kB / 378.2 MB, free: 24.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.167e-05/0.01245, allocations: 59.34 kB / 378.3 MB, free: 24.56 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.815e-05/0.01251, allocations: 11.98 kB / 378.3 MB, free: 24.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/0.01259, allocations: 78.2 kB / 378.4 MB, free: 24.47 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01259, allocations: 0 / 378.4 MB, free: 24.47 MB / 314.7 MB Notification: Performance of Templates: time 0.003779/0.01637, allocations: 1.183 MB / 379.5 MB, free: 23.31 MB / 314.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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.Test.RotorTest.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.0789551879279315]