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.001279/0.001279, allocations: 84.62 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001493/0.001493, allocations: 167.2 kB / 23.96 MB, free: 4.152 MB / 14.72 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.408/1.408, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 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.1638/0.1638, allocations: 29.44 MB / 290.1 MB, free: 3.285 MB / 270.1 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.232e-06/1.232e-06, allocations: 0 / 430.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.834e-05, allocations: 2.281 kB / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003755/0.003783, allocations: 2.54 MB / 433.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006941/0.004477, allocations: 422.9 kB / 433.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.462e-05/0.004542, allocations: 7.938 kB / 433.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.603e-05/0.004618, allocations: 7.875 kB / 433.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.004735, allocations: 39.64 kB / 433.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.599e-05/0.004831, allocations: 19.97 kB / 433.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.004998, allocations: 111.5 kB / 433.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.005111, allocations: 11.97 kB / 433.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.005302, allocations: 67.83 kB / 433.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.489e-05/0.005387, allocations: 35.88 kB / 434 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.005412, allocations: 12 kB / 434 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.123e-05/0.005433, allocations: 8 kB / 434 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.005466, allocations: 19.92 kB / 434 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.005513, allocations: 27.92 kB / 434 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.005672, allocations: 107.6 kB / 434.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.005675, allocations: 0 / 434.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005675, allocations: 0 / 434.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.00568, allocations: 0 / 434.1 MB, free: 14.51 MB / 366.1 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.0006405/0.006321, allocations: 334 kB / 434.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.006356, allocations: 8.031 kB / 434.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.006393, allocations: 16.84 kB / 434.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.006584, allocations: 133.6 kB / 434.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.006594, allocations: 8.375 kB / 434.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.006623, allocations: 8.312 kB / 434.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.006877, allocations: 97.23 kB / 434.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.006891, allocations: 3.938 kB / 434.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.006903, allocations: 4 kB / 434.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.006909, allocations: 4 kB / 434.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002481/0.007157, allocations: 67.94 kB / 434.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007987/0.007956, allocations: 371.4 kB / 435.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.008285, allocations: 82.67 kB / 435.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.008415, allocations: 44.83 kB / 435.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.008431, allocations: 0 / 435.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.008457, allocations: 34.5 kB / 435.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.008458, allocations: 0 / 435.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004711/0.008929, allocations: 141.5 kB / 435.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.008973, allocations: 55.41 kB / 435.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.00909, allocations: 129.8 kB / 435.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.009111, allocations: 33.7 kB / 435.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.009186, allocations: 108.1 kB / 435.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.009216, allocations: 27.95 kB / 435.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.009265, allocations: 25.7 kB / 435.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.009407, allocations: 318.8 kB / 436.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.009532, allocations: 35.97 kB / 436.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.009665, allocations: 59.41 kB / 436.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.009915, allocations: 107.3 kB / 436.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.009917, allocations: 0 / 436.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003114/0.01023, allocations: 121.5 kB / 436.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.01025, allocations: 14.64 kB / 436.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.01025, allocations: 0 / 436.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.01027, allocations: 0 / 436.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.01042, allocations: 36.08 kB / 436.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.01043, allocations: 0 / 436.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.01054, allocations: 19.86 kB / 436.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.01055, allocations: 0 / 436.5 MB, free: 11.91 MB / 366.1 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 9.842e-05/0.01064, allocations: 117.8 kB / 436.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.01068, allocations: 7.953 kB / 436.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.01103, allocations: 122.4 kB / 436.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.01103, allocations: 8 kB / 436.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01103, allocations: 192 / 436.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01104, allocations: 0 / 436.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.01126, allocations: 153.1 kB / 436.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01126, allocations: 4 kB / 436.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.01141, allocations: 23.97 kB / 436.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01141, allocations: 3.938 kB / 437 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.01143, allocations: 8 kB / 437 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.01143, allocations: 0 / 437 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01143, allocations: 0 / 437 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.0119, allocations: 255.4 kB / 437.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.01193, allocations: 15.86 kB / 437.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.01195, allocations: 0 / 437.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.01207, allocations: 11.98 kB / 437.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.01211, allocations: 7.984 kB / 437.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.01212, allocations: 0 / 437.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.016e-05/0.01219, allocations: 103.3 kB / 437.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01219, allocations: 0 / 437.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.01242, allocations: 20.06 kB / 437.4 MB, free: 11.01 MB / 366.1 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.0001116/0.01254, allocations: 103.1 kB / 437.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002849/0.01282, allocations: 83.86 kB / 437.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.01283, allocations: 4 kB / 437.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.01294, allocations: 31.98 kB / 437.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.01319, allocations: 13.03 kB / 437.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005902/0.01378, allocations: 281 kB / 437.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.369e-05/0.01387, allocations: 81.44 kB / 438 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.766e-05/0.01392, allocations: 8 kB / 438 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.01396, allocations: 12.5 kB / 438 MB, free: 10.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01396, allocations: 0 / 438 MB, free: 10.34 MB / 366.1 MB Notification: Performance of Templates: time 0.003789/0.01775, allocations: 1.06 MB / 439 MB, free: 9.293 MB / 366.1 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.432031806558371]