Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001155, allocations: 117.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 185 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.199/0.199, allocations: 44.18 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3544, allocations: 60.82 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.0128/0.3673, allocations: 12.32 MB / 0.5309 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00858/0.3759, allocations: 3.922 MB / 0.5348 GB, free: 7.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/0.3777, allocations: 69.09 kB / 0.5348 GB, free: 7.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00259/0.3803, allocations: 1.307 MB / 0.5361 GB, free: 6.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.3845, allocations: 1.794 MB / 0.5379 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.3859, allocations: 490.3 kB / 0.5383 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004597/0.3905, allocations: 3.605 MB / 0.5419 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003065/0.3935, allocations: 2.012 MB / 0.5438 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002548/0.3961, allocations: 1.205 MB / 0.545 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002515/0.3986, allocations: 1.717 MB / 0.5467 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007201/0.3994, allocations: 236 kB / 0.5469 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.4015, allocations: 0.9556 MB / 0.5478 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001688/0.4032, allocations: 1.593 MB / 0.5494 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00241/0.4057, allocations: 1.898 MB / 0.5512 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00605/0.4117, allocations: 6.244 MB / 0.5573 GB, free: 4.555 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4117, allocations: 0 / 0.5573 GB, free: 4.555 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4118, allocations: 0 / 0.5573 GB, free: 4.555 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.685e-05/0.4118, allocations: 0 / 0.5573 GB, free: 4.555 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.006488/0.4183, allocations: 4.152 MB / 0.5614 GB, free: 344 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.4184, allocations: 8.031 kB / 0.5614 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.4288, allocations: 3.076 MB / 0.5644 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003562/0.4324, allocations: 1.901 MB / 0.5663 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.4325, allocations: 185 kB / 0.5664 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000484/0.433, allocations: 255.9 kB / 0.5667 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01563/0.4487, allocations: 10.49 MB / 0.5769 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.066e-05/0.4488, allocations: 27.72 kB / 0.577 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004011/0.4492, allocations: 119.8 kB / 0.5771 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004202/0.4534, allocations: 2.557 MB / 0.5796 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01982/0.4732, allocations: 9.918 MB / 0.5892 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05068/0.524, allocations: 34.26 MB / 0.6227 GB, free: 224 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009577/0.5336, allocations: 5.19 MB / 0.6278 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00298/0.5366, allocations: 2.295 MB / 0.63 GB, free: 8.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001622/0.5383, allocations: 1.88 MB / 0.6319 GB, free: 6.289 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.5383, allocations: 52.56 kB / 0.6319 GB, free: 6.227 MB / 494.1 MB Notification: Performance of pre-optimization done (n=229): time 5.089e-06/0.5383, allocations: 3.938 kB / 0.6319 GB, free: 6.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=235): time 0.03185/0.5702, allocations: 13.99 MB / 0.6456 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.5703, allocations: 73.34 kB / 0.6456 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003524/0.5738, allocations: 2.639 MB / 0.6482 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000222/0.574, allocations: 57.69 kB / 0.6483 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001641/0.5757, allocations: 2.635 MB / 0.6508 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007568/0.5765, allocations: 0.8479 MB / 0.6517 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/0.5778, allocations: 1.032 MB / 0.6527 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.5779, allocations: 305.1 kB / 0.653 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/0.581, allocations: 2.208 MB / 0.6551 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005475/0.5864, allocations: 5.067 MB / 0.6601 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01038/0.5968, allocations: 7.98 MB / 0.6679 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-05/0.5969, allocations: 28 kB / 0.6679 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01344/0.6104, allocations: 7.88 MB / 0.6756 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.627e-05/0.6105, allocations: 52.25 kB / 0.6756 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/0.6106, allocations: 104 kB / 0.6757 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002251/0.6129, allocations: 0.7888 MB / 0.6765 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003988/0.6169, allocations: 1.185 MB / 0.6777 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005966/0.6229, allocations: 4.527 MB / 0.6821 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003403/0.6263, allocations: 291.8 kB / 0.6824 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007649/0.6271, allocations: 304 kB / 0.6827 GB, free: 15.12 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (635): * Single equations (assignments): 628 * Array equations: 6 * 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 prepare postOptimizeDAE: time 0.003916/0.631, allocations: 2.012 MB / 0.6846 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006776/0.6317, allocations: 256.6 kB / 0.6849 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008542/0.6402, allocations: 4.729 MB / 0.6895 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.054e-05/0.6403, allocations: 43.98 kB / 0.6895 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.661e-05/0.6403, allocations: 7.938 kB / 0.6895 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/0.6404, allocations: 11.95 kB / 0.6895 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01931/0.6597, allocations: 10.5 MB / 0.6998 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.12e-05/0.6598, allocations: 15.97 kB / 0.6998 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/0.6615, allocations: 355.5 kB / 0.7001 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002174/0.6637, allocations: 0.6599 MB / 0.7008 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002163/0.6639, allocations: 43.98 kB / 0.7008 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005384/0.6693, allocations: 3.898 MB / 0.7046 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/0.6694, allocations: 16 kB / 0.7047 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/0.6807, allocations: 7.136 MB / 0.7116 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007486/0.6815, allocations: 313.7 kB / 0.7119 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006238/0.6821, allocations: 35.98 kB / 0.712 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/0.6837, allocations: 151.8 kB / 0.7121 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003954/0.6841, allocations: 129 kB / 0.7122 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001994/0.6843, allocations: 60 kB / 0.7123 GB, free: 288 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003088/0.6874, allocations: 1.631 MB / 0.7139 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6874, allocations: 0 / 0.7139 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004798/0.6922, allocations: 0.9299 MB / 0.7148 GB, free: 13.71 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000626/0.6928, allocations: 178.8 kB / 0.715 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008476/0.7013, allocations: 5.388 MB / 0.7202 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.7014, allocations: 3.938 kB / 0.7202 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003113/0.7045, allocations: 2.026 MB / 0.7222 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/0.7075, allocations: 364.5 kB / 0.7225 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2541/0.9617, allocations: 9.322 MB / 0.7316 GB, free: 184.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003892/0.9656, allocations: 3.168 MB / 0.7347 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004094/0.9697, allocations: 1.962 MB / 0.7367 GB, free: 184 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006903/0.9704, allocations: 202 kB / 0.7368 GB, free: 184 MB / 0.5762 GB Notification: Performance of SimCode: time 1.763e-06/0.9704, allocations: 1.344 kB / 0.7368 GB, free: 184 MB / 0.5762 GB Notification: Performance of Templates: time 0.04958/1.02, allocations: 28.75 MB / 0.7649 GB, free: 167.2 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches