Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.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.001177/0.001177, 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.0009367/0.0009367, allocations: 170 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.9164/0.9164, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2236/0.2236, allocations: 34.25 MB / 294.9 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 442.1 MB, free: 1.719 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.682e-05, allocations: 6.281 kB / 442.1 MB, free: 1.711 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.161/0.161, allocations: 2.486 MB / 444.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007605/0.1618, allocations: 0.6889 MB / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.1619, allocations: 12.72 kB / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.162, allocations: 40.09 kB / 445.4 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.1621, allocations: 98.08 kB / 445.5 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.1623, allocations: 108.6 kB / 445.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.1625, allocations: 349.1 kB / 445.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1626, allocations: 54.34 kB / 446 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.1628, allocations: 188.5 kB / 446.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.474e-05/0.1629, allocations: 102.2 kB / 446.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.1629, allocations: 25.5 kB / 446.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.613e-05/0.163, allocations: 22.31 kB / 446.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.163, allocations: 59.98 kB / 446.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.163, allocations: 99.64 kB / 446.5 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.1633, allocations: 311.4 kB / 446.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.1633, allocations: 0 / 446.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1633, allocations: 3.938 kB / 446.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1633, allocations: 3.688 kB / 446.8 MB, free: 42.55 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0004827/0.1637, allocations: 0.518 MB / 447.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.1638, allocations: 11.56 kB / 447.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.159e-05/0.1638, allocations: 59.48 kB / 447.4 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.1639, allocations: 57.89 kB / 447.4 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1641, allocations: 210.6 kB / 447.6 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1642, allocations: 17.66 kB / 447.6 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.1642, allocations: 36.08 kB / 447.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.1644, allocations: 278.3 kB / 447.9 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1645, allocations: 192 / 447.9 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1645, allocations: 18.84 kB / 448 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1645, allocations: 7.906 kB / 448 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.1647, allocations: 177.4 kB / 448.1 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007267/0.1654, allocations: 1.201 MB / 449.3 MB, free: 40.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.1656, allocations: 242.4 kB / 449.6 MB, free: 40.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.92e-05/0.1657, allocations: 101.4 kB / 449.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.1658, allocations: 2.938 kB / 449.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.1658, allocations: 37.31 kB / 449.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.082e-06/0.1658, allocations: 0 / 449.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001129/0.1669, allocations: 1.211 MB / 450.9 MB, free: 39.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.1669, allocations: 134.1 kB / 451.1 MB, free: 39.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.167, allocations: 230.5 kB / 451.3 MB, free: 39.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.167, allocations: 32.58 kB / 451.3 MB, free: 39.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.1671, allocations: 179.4 kB / 451.5 MB, free: 39.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.1671, allocations: 119.7 kB / 451.6 MB, free: 38.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.1672, allocations: 73.31 kB / 451.7 MB, free: 38.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.029e-05/0.1672, allocations: 335 kB / 452 MB, free: 38.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.1673, allocations: 105.2 kB / 452.1 MB, free: 38.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.1675, allocations: 239.8 kB / 452.3 MB, free: 38.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.1678, allocations: 369 kB / 452.7 MB, free: 38.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1678, allocations: 0 / 452.7 MB, free: 38.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000364/0.1681, allocations: 393.9 kB / 453.1 MB, free: 37.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1681, allocations: 12.31 kB / 453.1 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1682, allocations: 5.875 kB / 453.1 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1682, allocations: 5.938 kB / 453.1 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.1683, allocations: 99.12 kB / 453.2 MB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1683, allocations: 12.75 kB / 453.2 MB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.539e-05/0.1684, allocations: 26.5 kB / 453.2 MB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.1685, allocations: 13.22 kB / 453.3 MB, free: 37.94 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.004e-05/0.1685, allocations: 164.9 kB / 453.4 MB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.1686, allocations: 34.09 kB / 453.5 MB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.1686, allocations: 33.59 kB / 453.5 MB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1686, allocations: 2.906 kB / 453.5 MB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.1686, allocations: 2.75 kB / 453.5 MB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1686, allocations: 0 / 453.5 MB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006784/0.1693, allocations: 0.9319 MB / 454.4 MB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1693, allocations: 3.094 kB / 454.4 MB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.1695, allocations: 73.5 kB / 454.5 MB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1695, allocations: 2.844 kB / 454.5 MB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1695, allocations: 14.28 kB / 454.5 MB, free: 37.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1695, allocations: 3 kB / 454.5 MB, free: 37.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1695, allocations: 12.19 kB / 454.5 MB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.1699, allocations: 0.7312 MB / 455.3 MB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.17, allocations: 20.67 kB / 455.3 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.17, allocations: 18.2 kB / 455.3 MB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.1701, allocations: 20.06 kB / 455.3 MB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.1702, allocations: 36.03 kB / 455.4 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.1702, allocations: 5.719 kB / 455.4 MB, free: 36.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.101e-05/0.1702, allocations: 165.5 kB / 455.5 MB, free: 36.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1702, allocations: 0 / 455.5 MB, free: 36.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002738/0.1705, allocations: 65.41 kB / 455.6 MB, free: 36.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.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 (32): * Single equations (assignments): 32 * 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.0005119/0.171, allocations: 1.267 MB / 456.8 MB, free: 35.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003072/0.1713, allocations: 277.1 kB / 457.1 MB, free: 35.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.1713, allocations: 0 / 457.1 MB, free: 35.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.1715, allocations: 130.2 kB / 457.2 MB, free: 35.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.1719, allocations: 42.11 kB / 457.3 MB, free: 35.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.1739, allocations: 3.35 MB / 460.6 MB, free: 32.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.7e-05/0.174, allocations: 163.1 kB / 460.8 MB, free: 32.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.894e-05/0.1741, allocations: 42.33 kB / 460.8 MB, free: 32.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.866e-05/0.1742, allocations: 97.94 kB / 460.9 MB, free: 32.62 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1742, allocations: 0 / 460.9 MB, free: 32.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.1906, allocations: 6.139 MB / 467.1 MB, free: 31.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.78/6.971, allocations: 13.78 kB / 467.1 MB, free: 31.32 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.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.94305262900889]