Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_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.001722/0.001722, allocations: 104.7 kB / 17.09 MB, free: 6.008 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.002055/0.002055, allocations: 187.1 kB / 18.02 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2092/0.2092, allocations: 43.53 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 71.89 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1153, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01324/0.1286, allocations: 12.68 MB / 0.5009 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007297/0.1359, allocations: 3.953 MB / 0.5048 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.1376, allocations: 63.88 kB / 0.5049 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002732/0.1403, allocations: 1.331 MB / 0.5062 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004149/0.1445, allocations: 1.829 MB / 0.5079 GB, free: 7.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.1457, allocations: 491 kB / 0.5084 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004737/0.1505, allocations: 3.668 MB / 0.512 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00265/0.1531, allocations: 2.048 MB / 0.514 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/0.1552, allocations: 1.234 MB / 0.5152 GB, free: 380 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002822/0.1581, allocations: 1.74 MB / 0.5169 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007752/0.1588, allocations: 240 kB / 0.5171 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.161, allocations: 0.9478 MB / 0.5181 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002177/0.1632, allocations: 1.628 MB / 0.5196 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003249/0.1665, allocations: 1.941 MB / 0.5215 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007749/0.1742, allocations: 6.398 MB / 0.5278 GB, free: 3.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1743, allocations: 4 kB / 0.5278 GB, free: 3.426 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1743, allocations: 0 / 0.5278 GB, free: 3.426 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002254/0.1745, allocations: 0 / 0.5278 GB, free: 3.426 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.2362/0.4107, allocations: 4.35 MB / 0.532 GB, free: 37.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.4107, allocations: 11.05 kB / 0.5321 GB, free: 37.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/0.4216, allocations: 3.105 MB / 0.5351 GB, free: 37.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004091/0.4257, allocations: 1.972 MB / 0.537 GB, free: 36.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.4259, allocations: 192.9 kB / 0.5372 GB, free: 36.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005815/0.4265, allocations: 259.7 kB / 0.5374 GB, free: 36.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01822/0.4447, allocations: 10.69 MB / 0.5479 GB, free: 32.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.352e-05/0.4448, allocations: 24.2 kB / 0.5479 GB, free: 32.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000385/0.4452, allocations: 124.5 kB / 0.548 GB, free: 32.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004726/0.4499, allocations: 2.652 MB / 0.5506 GB, free: 32.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0182/0.4682, allocations: 10.02 MB / 0.5604 GB, free: 25.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04295/0.5112, allocations: 35.15 MB / 0.5947 GB, free: 5.312 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009669/0.5209, allocations: 5.188 MB / 0.5998 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003233/0.5241, allocations: 2.295 MB / 0.602 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001783/0.5259, allocations: 1.876 MB / 0.6039 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/0.526, allocations: 52.56 kB / 0.6039 GB, free: 11.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 4.478e-06/0.526, allocations: 1.641 kB / 0.6039 GB, free: 11.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03296/0.559, allocations: 14.12 MB / 0.6177 GB, free: 13.21 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.5591, allocations: 69.41 kB / 0.6178 GB, free: 13.13 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004437/0.5635, allocations: 2.681 MB / 0.6204 GB, free: 10.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002187/0.5638, allocations: 57.7 kB / 0.6204 GB, free: 10.37 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002008/0.5658, allocations: 2.819 MB / 0.6232 GB, free: 7.523 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009245/0.5667, allocations: 0.8952 MB / 0.6241 GB, free: 6.621 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00153/0.5683, allocations: 1.053 MB / 0.6251 GB, free: 5.559 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.288e-05/0.5684, allocations: 309.1 kB / 0.6254 GB, free: 5.254 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003257/0.5716, allocations: 2.22 MB / 0.6276 GB, free: 3.027 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005364/0.577, allocations: 5.134 MB / 0.6326 GB, free: 12.46 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009902/0.5869, allocations: 8.05 MB / 0.6404 GB, free: 2.984 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.561e-05/0.587, allocations: 28 kB / 0.6405 GB, free: 2.957 MB / 478.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01344/0.6005, allocations: 7.971 MB / 0.6482 GB, free: 10.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.539e-05/0.6006, allocations: 48 kB / 0.6483 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001501/0.6008, allocations: 104 kB / 0.6484 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002434/0.6032, allocations: 0.8019 MB / 0.6492 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004006/0.6072, allocations: 1.205 MB / 0.6504 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005826/0.6131, allocations: 4.529 MB / 0.6548 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003734/0.6168, allocations: 299.8 kB / 0.6551 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008144/0.6177, allocations: 300 kB / 0.6553 GB, free: 3.566 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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 (644): * Single equations (assignments): 637 * 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.003764/0.6214, allocations: 2.055 MB / 0.6574 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006632/0.6221, allocations: 278.1 kB / 0.6576 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008325/0.6305, allocations: 4.734 MB / 0.6622 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/0.6305, allocations: 11.95 kB / 0.6623 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/0.6305, allocations: 0 / 0.6623 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/0.632, allocations: 0.6553 MB / 0.6629 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005279/0.6326, allocations: 27.94 kB / 0.6629 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.6339, allocations: 147.7 kB / 0.6631 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003281/0.6342, allocations: 113.8 kB / 0.6632 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007544/0.6417, allocations: 4.235 MB / 0.6673 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008034/0.6498, allocations: 6.279 MB / 0.6734 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002265/0.6521, allocations: 1.73 MB / 0.6751 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002985/0.6551, allocations: 1.647 MB / 0.6767 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of Backend: time 2.966e-06/0.6551, allocations: 0 / 0.6767 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007478/0.6626, allocations: 4.024 MB / 0.6807 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of SimCode: time 0.01555/0.6782, allocations: 8.588 MB / 0.6891 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of Templates: time 0.07515/0.7533, allocations: 41.48 MB / 0.7296 GB, free: 7.395 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches