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.0007848/0.0007848, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008668/0.0008668, allocations: 174 kB / 23.95 MB, free: 0.6133 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.8932/0.8932, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2342/0.2342, allocations: 29.41 MB / 290.1 MB, free: 2.438 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: "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.823e-05, allocations: 2.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003306/0.003334, allocations: 2.545 MB / 432.7 MB, free: 11.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005359/0.00387, allocations: 442.7 kB / 433.2 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.277e-05/0.003943, allocations: 0 / 433.2 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.537e-05/0.004038, allocations: 7.875 kB / 433.2 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.004164, allocations: 23.78 kB / 433.2 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.004275, allocations: 35.88 kB / 433.2 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.004403, allocations: 99.53 kB / 433.3 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.004517, allocations: 23.97 kB / 433.4 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.004709, allocations: 63.81 kB / 433.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.294e-05/0.004782, allocations: 39.89 kB / 433.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.0048, allocations: 4 kB / 433.5 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.004811, allocations: 8 kB / 433.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.004833, allocations: 23.91 kB / 433.5 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.004866, allocations: 27.92 kB / 433.5 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.004995, allocations: 95.66 kB / 433.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.004998, allocations: 3.938 kB / 433.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.004999, allocations: 0 / 433.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.005004, allocations: 0 / 433.6 MB, free: 10.16 MB / 410.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.0005028/0.005506, allocations: 341.9 kB / 434 MB, free: 9.793 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.005554, allocations: 15.98 kB / 434 MB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.00559, allocations: 38.73 kB / 434 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.005622, allocations: 12.89 kB / 434 MB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.005826, allocations: 134.2 kB / 434.1 MB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.005837, allocations: 8.25 kB / 434.2 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.005862, allocations: 16.38 kB / 434.2 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.006054, allocations: 96.28 kB / 434.3 MB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.006064, allocations: 0 / 434.3 MB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.006076, allocations: 4 kB / 434.3 MB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.006081, allocations: 4 kB / 434.3 MB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.006218, allocations: 67.94 kB / 434.3 MB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006128/0.006831, allocations: 386.9 kB / 434.7 MB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.007044, allocations: 90.66 kB / 434.8 MB, free: 8.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.661e-05/0.00711, allocations: 36.83 kB / 434.8 MB, free: 8.801 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.007126, allocations: 0 / 434.8 MB, free: 8.801 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.007142, allocations: 34.56 kB / 434.9 MB, free: 8.758 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.007143, allocations: 0 / 434.9 MB, free: 8.758 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002913/0.007435, allocations: 149.5 kB / 435 MB, free: 8.605 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.007464, allocations: 51.41 kB / 435.1 MB, free: 8.543 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.054e-05/0.007554, allocations: 144.7 kB / 435.2 MB, free: 8.395 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.007565, allocations: 25.7 kB / 435.2 MB, free: 8.363 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.007621, allocations: 100.1 kB / 435.3 MB, free: 8.262 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.007643, allocations: 27.89 kB / 435.4 MB, free: 8.234 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.007682, allocations: 25.7 kB / 435.4 MB, free: 8.203 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.007763, allocations: 322.8 kB / 435.7 MB, free: 7.879 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.633e-05/0.007829, allocations: 27.98 kB / 435.7 MB, free: 7.852 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.769e-05/0.007907, allocations: 71.34 kB / 435.8 MB, free: 7.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.008053, allocations: 103.5 kB / 435.9 MB, free: 7.656 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.008055, allocations: 0 / 435.9 MB, free: 7.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001818/0.008237, allocations: 133.6 kB / 436 MB, free: 7.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.008253, allocations: 4 kB / 436 MB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.00826, allocations: 4.391 kB / 436 MB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.008273, allocations: 192 / 436 MB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/0.008358, allocations: 23.98 kB / 436.1 MB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.008365, allocations: 7.938 kB / 436.1 MB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.537e-05/0.00842, allocations: 23.81 kB / 436.1 MB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.008428, allocations: 4 kB / 436.1 MB, free: 7.453 MB / 410.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 6.517e-05/0.008493, allocations: 117.8 kB / 436.2 MB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.008511, allocations: 11.98 kB / 436.2 MB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.008717, allocations: 130.4 kB / 436.4 MB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.008719, allocations: 3.938 kB / 436.4 MB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.008724, allocations: 0 / 436.4 MB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.008728, allocations: 7.938 kB / 436.4 MB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.008904, allocations: 168.7 kB / 436.5 MB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.008906, allocations: 0 / 436.5 MB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.008979, allocations: 27.92 kB / 436.6 MB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.008982, allocations: 4 kB / 436.6 MB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.00899, allocations: 0 / 436.6 MB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.008991, allocations: 0 / 436.6 MB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.008993, allocations: 0 / 436.6 MB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.00928, allocations: 255.3 kB / 436.8 MB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.009296, allocations: 11.97 kB / 436.8 MB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.009311, allocations: 4 kB / 436.8 MB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.659e-05/0.009368, allocations: 4 kB / 436.8 MB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.009407, allocations: 12.05 kB / 436.8 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.009412, allocations: 3.938 kB / 436.8 MB, free: 6.629 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.037e-05/0.009463, allocations: 107.2 kB / 437 MB, free: 6.523 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009463, allocations: 3.938 kB / 437 MB, free: 6.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.009637, allocations: 27.94 kB / 437 MB, free: 6.492 MB / 410.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.000452/0.01009, allocations: 0.7749 MB / 437.8 MB, free: 5.691 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004541/0.01054, allocations: 91.94 kB / 437.8 MB, free: 5.602 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01054, allocations: 0 / 437.8 MB, free: 5.602 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.34e-05/0.01061, allocations: 35.92 kB / 437.9 MB, free: 5.566 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.01084, allocations: 18.89 kB / 437.9 MB, free: 5.551 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.01225, allocations: 1.692 MB / 439.6 MB, free: 3.754 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.615e-05/0.01231, allocations: 81.45 kB / 439.7 MB, free: 3.656 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.766e-05/0.01235, allocations: 20.64 kB / 439.7 MB, free: 3.637 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.01241, allocations: 24.5 kB / 439.7 MB, free: 3.609 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01241, allocations: 0 / 439.7 MB, free: 3.609 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.03091, allocations: 3.129 MB / 442.8 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.611/6.642, allocations: 8.062 kB / 442.9 MB, free: 0.5938 MB / 410.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1) [Timeout 52.5] 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: 8.697885921224952]