Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.002703/0.002703, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.003163/0.003163, allocations: 165.3 kB / 24.27 MB, free: 152 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.581/1.581, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3477/0.3477, allocations: 32.8 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.747e-05/3.931e-05, allocations: 6.25 kB / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.02201/0.02205, allocations: 10.68 MB / 386 MB, free: 10.22 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01233/0.03438, allocations: 3.746 MB / 389.7 MB, free: 6.461 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/0.03626, allocations: 71.69 kB / 389.8 MB, free: 6.391 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008844/0.0451, allocations: 2.87 MB / 392.6 MB, free: 3.512 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007445/0.05255, allocations: 1.866 MB / 394.5 MB, free: 1.637 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002756/0.0553, allocations: 0.7601 MB / 395.3 MB, free: 0.875 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008593/0.0639, allocations: 3.979 MB / 399.3 MB, free: 12.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006825/0.07072, allocations: 3.167 MB / 402.4 MB, free: 9.656 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006059/0.07678, allocations: 2.23 MB / 404.6 MB, free: 7.422 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005552/0.08233, allocations: 2.186 MB / 406.8 MB, free: 5.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001164/0.0835, allocations: 328 kB / 407.2 MB, free: 4.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/0.08673, allocations: 0.9946 MB / 408.1 MB, free: 3.914 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003593/0.09033, allocations: 1.94 MB / 410.1 MB, free: 1.969 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003103/0.09343, allocations: 1.219 MB / 411.3 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.1037, allocations: 6.744 MB / 418.1 MB, free: 9.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1037, allocations: 0 / 418.1 MB, free: 9.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1037, allocations: 0 / 418.1 MB, free: 9.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001855/0.1039, allocations: 0 / 418.1 MB, free: 9.98 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.02049/0.1244, allocations: 6.042 MB / 424.1 MB, free: 3.879 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1244, allocations: 12.03 kB / 424.1 MB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008489/0.1329, allocations: 2.323 MB / 426.4 MB, free: 1.539 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005732/0.1387, allocations: 2.051 MB / 428.5 MB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002347/0.1389, allocations: 229.8 kB / 428.7 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008162/0.1397, allocations: 299.8 kB / 429 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01688/0.1566, allocations: 6.446 MB / 435.4 MB, free: 7.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/0.1567, allocations: 35.7 kB / 435.5 MB, free: 7.555 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000474/0.1572, allocations: 151.8 kB / 435.6 MB, free: 7.406 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003667/0.1609, allocations: 1.802 MB / 437.4 MB, free: 5.598 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01562/0.1765, allocations: 3.693 MB / 441.1 MB, free: 1.887 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2268/0.4033, allocations: 43.88 MB / 485 MB, free: 62.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01172/0.415, allocations: 2.044 MB / 487 MB, free: 62.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/0.4164, allocations: 0.5445 MB / 487.6 MB, free: 62.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007959/0.4172, allocations: 228 kB / 487.8 MB, free: 61.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.4172, allocations: 59.62 kB / 487.9 MB, free: 61.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 4.589e-06/0.4172, allocations: 0 / 487.9 MB, free: 61.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.04077/0.458, allocations: 9.861 MB / 497.7 MB, free: 58.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.4581, allocations: 148.5 kB / 497.9 MB, free: 58.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005802/0.4639, allocations: 4.245 MB / 0.4903 GB, free: 56.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000345/0.4642, allocations: 47.23 kB / 0.4904 GB, free: 56.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001944/0.4662, allocations: 3.439 MB / 0.4938 GB, free: 53.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008618/0.467, allocations: 0.6315 MB / 0.4944 GB, free: 53.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001819/0.4688, allocations: 1.445 MB / 0.4958 GB, free: 52.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.4689, allocations: 481.8 kB / 0.4962 GB, free: 52.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.4705, allocations: 0.6527 MB / 0.4969 GB, free: 52.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003555/0.474, allocations: 6.13 MB / 0.5029 GB, free: 44.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005821/0.4798, allocations: 7.452 MB / 0.5101 GB, free: 36.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001461/0.48, allocations: 36.81 kB / 0.5102 GB, free: 36.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01126/0.4912, allocations: 5.445 MB / 0.5155 GB, free: 34.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.679e-05/0.4913, allocations: 56 kB / 0.5155 GB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001438/0.4915, allocations: 128 kB / 0.5157 GB, free: 34.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002231/0.4937, allocations: 0.6266 MB / 0.5163 GB, free: 33.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003846/0.4976, allocations: 1.294 MB / 0.5175 GB, free: 32.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004105/0.5017, allocations: 3.32 MB / 0.5208 GB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004582/0.5062, allocations: 333.6 kB / 0.5211 GB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/0.5072, allocations: 359.2 kB / 0.5214 GB, free: 28.85 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (681): * Single equations (assignments): 677 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003128/0.5104, allocations: 0.7221 MB / 0.5222 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008846/0.5113, allocations: 350.6 kB / 0.5225 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004346/0.5156, allocations: 1.488 MB / 0.5239 GB, free: 26.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.268e-05/0.5156, allocations: 20.75 kB / 0.524 GB, free: 26.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.5157, allocations: 4 kB / 0.524 GB, free: 26.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-05/0.5157, allocations: 5.484 kB / 0.524 GB, free: 26.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/0.5285, allocations: 5.755 MB / 0.5296 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.5285, allocations: 0 / 0.5296 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.5296, allocations: 245.1 kB / 0.5298 GB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001802/0.5314, allocations: 446.3 kB / 0.5302 GB, free: 21.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.5316, allocations: 39.88 kB / 0.5303 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004063/0.5356, allocations: 3.036 MB / 0.5332 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.5356, allocations: 4.703 kB / 0.5333 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005269/0.5409, allocations: 2.608 MB / 0.5358 GB, free: 16.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.542, allocations: 299.1 kB / 0.5361 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003862/0.5424, allocations: 24 kB / 0.5361 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.5438, allocations: 112.2 kB / 0.5362 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002987/0.5441, allocations: 102.2 kB / 0.5363 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.5442, allocations: 52.91 kB / 0.5364 GB, free: 15.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002682/0.5469, allocations: 1.71 MB / 0.538 GB, free: 14.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5469, allocations: 0 / 0.538 GB, free: 14.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005861/0.5527, allocations: 0.9413 MB / 0.539 GB, free: 13.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * 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 (104): * Single equations (assignments): 100 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004489/0.5532, allocations: 170.5 kB / 0.5391 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005638/0.5588, allocations: 3.072 MB / 0.5421 GB, free: 9.957 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.5588, allocations: 1.188 kB / 0.5421 GB, free: 9.957 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.5601, allocations: 0.7574 MB / 0.5429 GB, free: 9.176 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.5626, allocations: 394.4 kB / 0.5432 GB, free: 8.809 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.5735, allocations: 6.897 MB / 0.55 GB, free: 1.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002581/0.5761, allocations: 2.277 MB / 0.5522 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004055/0.5802, allocations: 1.518 MB / 0.5537 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007831/0.581, allocations: 256.4 kB / 0.5539 GB, free: 13.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.443e-06/0.581, allocations: 0 / 0.5539 GB, free: 13.77 MB / 426.7 MB Notification: Performance of Templates: time 0.06888/0.6498, allocations: 29.37 MB / 0.5826 GB, free: 0.8555 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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: 6.865243847016245]