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.001021/0.001021, allocations: 83.58 kB / 21.19 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.001128/0.001128, allocations: 165 kB / 24.56 MB, free: 16 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.006/1.006, allocations: 177.1 MB / 205 MB, free: 5.305 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.2348/0.2348, allocations: 29.41 MB / 290.9 MB, free: 2.465 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.793e-06/1.793e-06, allocations: 0 / 369.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.81e-05, allocations: 2.312 kB / 369.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003159/0.003187, allocations: 2.628 MB / 372.3 MB, free: 8.391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005831/0.00377, allocations: 446.8 kB / 372.7 MB, free: 7.953 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/0.003847, allocations: 0 / 372.7 MB, free: 7.953 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.003954, allocations: 15.86 kB / 372.7 MB, free: 7.938 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.004086, allocations: 31.77 kB / 372.7 MB, free: 7.906 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.004353, allocations: 27.91 kB / 372.8 MB, free: 7.879 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.0045, allocations: 103.5 kB / 372.9 MB, free: 7.777 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.004622, allocations: 19.97 kB / 372.9 MB, free: 7.758 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.004834, allocations: 55.89 kB / 372.9 MB, free: 7.703 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.531e-05/0.004919, allocations: 39.88 kB / 373 MB, free: 7.664 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.004941, allocations: 8 kB / 373 MB, free: 7.656 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.64e-05/0.004957, allocations: 8 kB / 373 MB, free: 7.648 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.004978, allocations: 15.92 kB / 373 MB, free: 7.633 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.005016, allocations: 31.92 kB / 373 MB, free: 7.602 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.005153, allocations: 71.73 kB / 373.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.005157, allocations: 0 / 373.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.005158, allocations: 0 / 373.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.005164, allocations: 0 / 373.1 MB, free: 7.531 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.0004974/0.005661, allocations: 436.2 kB / 373.5 MB, free: 7.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.005702, allocations: 11.98 kB / 373.6 MB, free: 7.059 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.005752, allocations: 16.83 kB / 373.6 MB, free: 7.043 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.005931, allocations: 140.4 kB / 373.7 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.005947, allocations: 12.36 kB / 373.7 MB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.005979, allocations: 4.375 kB / 373.7 MB, free: 6.863 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.006154, allocations: 82.92 kB / 373.8 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.006166, allocations: 3.938 kB / 373.8 MB, free: 6.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.006177, allocations: 4 kB / 373.8 MB, free: 6.766 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.006184, allocations: 0 / 373.8 MB, free: 6.766 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.611e-05/0.00625, allocations: 31.91 kB / 373.8 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.006838, allocations: 410.6 kB / 374.2 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.007021, allocations: 71.09 kB / 374.3 MB, free: 6.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.00706, allocations: 19.67 kB / 374.3 MB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.007078, allocations: 0 / 374.3 MB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.007101, allocations: 37.39 kB / 374.4 MB, free: 6.141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.007102, allocations: 4 kB / 374.4 MB, free: 6.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.000196/0.007298, allocations: 69.64 kB / 374.4 MB, free: 6.062 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.007325, allocations: 55.34 kB / 374.5 MB, free: 5.996 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.396e-05/0.007419, allocations: 192.6 kB / 374.7 MB, free: 5.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.00743, allocations: 29.7 kB / 374.7 MB, free: 5.758 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.007491, allocations: 158.8 kB / 374.9 MB, free: 5.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.007513, allocations: 27.92 kB / 374.9 MB, free: 5.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.007554, allocations: 27.38 kB / 374.9 MB, free: 5.535 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.007669, allocations: 0.4961 MB / 375.4 MB, free: 5.027 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.104e-05/0.0077, allocations: 8 kB / 375.4 MB, free: 5.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.663e-05/0.007747, allocations: 46.73 kB / 375.5 MB, free: 4.957 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.065e-05/0.007827, allocations: 66.67 kB / 375.5 MB, free: 4.875 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.00783, allocations: 4 kB / 375.5 MB, free: 4.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001247/0.007954, allocations: 89.52 kB / 375.6 MB, free: 4.777 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.007971, allocations: 8 kB / 375.6 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.007976, allocations: 0 / 375.6 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.00799, allocations: 0 / 375.6 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-05/0.008084, allocations: 23.98 kB / 375.7 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.00809, allocations: 4 kB / 375.7 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.008135, allocations: 11.94 kB / 375.7 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.008144, allocations: 7.938 kB / 375.7 MB, free: 4.723 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 7.064e-05/0.008214, allocations: 160.7 kB / 375.8 MB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.008238, allocations: 15.89 kB / 375.9 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.008382, allocations: 86.38 kB / 375.9 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.008384, allocations: 0 / 375.9 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.008388, allocations: 0 / 375.9 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.008391, allocations: 0 / 375.9 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.008557, allocations: 152.5 kB / 376.1 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.008558, allocations: 0 / 376.1 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.28e-05/0.008631, allocations: 27.98 kB / 376.1 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.008635, allocations: 4 kB / 376.1 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.008651, allocations: 7.922 kB / 376.1 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.008652, allocations: 0 / 376.1 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.008654, allocations: 0 / 376.1 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.008856, allocations: 248.2 kB / 376.4 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.008871, allocations: 7.953 kB / 376.4 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.008885, allocations: 0 / 376.4 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.383e-05/0.008939, allocations: 7.984 kB / 376.4 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.008976, allocations: 4 kB / 376.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.008983, allocations: 7.984 kB / 376.4 MB, free: 3.941 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.005e-05/0.009033, allocations: 145.6 kB / 376.5 MB, free: 3.801 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009033, allocations: 4.031 kB / 376.5 MB, free: 3.797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.009196, allocations: 20 kB / 376.6 MB, free: 3.777 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 8.661e-05/0.009282, allocations: 91.25 kB / 376.6 MB, free: 3.676 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.009415, allocations: 63.58 kB / 376.7 MB, free: 3.609 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.009417, allocations: 0 / 376.7 MB, free: 3.609 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.071e-05/0.009458, allocations: 27.62 kB / 376.7 MB, free: 3.578 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.009678, allocations: 16.17 kB / 376.8 MB, free: 3.562 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009024/0.01058, allocations: 306 kB / 377.1 MB, free: 3.234 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.929e-05/0.01062, allocations: 67.33 kB / 377.1 MB, free: 3.148 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.84e-05/0.01066, allocations: 11.98 kB / 377.1 MB, free: 3.137 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.0107, allocations: 12.5 kB / 377.1 MB, free: 3.125 MB / 346.7 MB Notification: Performance of SimCode: time 7.81e-07/0.0107, allocations: 0 / 377.1 MB, free: 3.125 MB / 346.7 MB Notification: Performance of Templates: time 0.002834/0.01354, allocations: 1.073 MB / 378.2 MB, free: 2.07 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=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.109837705735117]