Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque.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.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001268, allocations: 109.4 kB / 18.46 MB, free: 4.598 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.001255/0.001256, allocations: 184.3 kB / 19.38 MB, free: 3.68 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.385/1.385, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2204/0.2204, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3659, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01588/0.3818, allocations: 15.74 MB / 0.535 GB, free: 8.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.3933, allocations: 4.953 MB / 0.5398 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003388/0.3967, allocations: 107.1 kB / 0.5399 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01027/0.407, allocations: 5.013 MB / 0.5448 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008259/0.4154, allocations: 2.633 MB / 0.5474 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00338/0.4188, allocations: 1.076 MB / 0.5484 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01178/0.4306, allocations: 6.843 MB / 0.5551 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009589/0.4402, allocations: 5.796 MB / 0.5608 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005301/0.4455, allocations: 2.422 MB / 0.5631 GB, free: 15.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005461/0.451, allocations: 3.255 MB / 0.5663 GB, free: 12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002006/0.4531, allocations: 0.5078 MB / 0.5668 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004036/0.4571, allocations: 1.405 MB / 0.5682 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004153/0.4613, allocations: 3.063 MB / 0.5712 GB, free: 7.012 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007151/0.4685, allocations: 3.429 MB / 0.5745 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01491/0.4834, allocations: 10.62 MB / 0.5849 GB, free: 8.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4835, allocations: 0 / 0.5849 GB, free: 8.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4835, allocations: 0 / 0.5849 GB, free: 8.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003977/0.4839, allocations: 0 / 0.5849 GB, free: 8.91 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02118/0.5051, allocations: 7.507 MB / 0.5922 GB, free: 1.316 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.5051, allocations: 12.03 kB / 0.5922 GB, free: 1.305 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01352/0.5187, allocations: 2.757 MB / 0.5949 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01084/0.5295, allocations: 4.362 MB / 0.5992 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/0.5299, allocations: 369.7 kB / 0.5995 GB, free: 9.723 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00196/0.5319, allocations: 495.6 kB / 0.6 GB, free: 9.238 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03039/0.5623, allocations: 14.62 MB / 0.6143 GB, free: 9.605 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002651/0.5626, allocations: 67.36 kB / 0.6143 GB, free: 9.539 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001492/0.5641, allocations: 231.8 kB / 0.6146 GB, free: 9.312 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005566/0.5697, allocations: 2.828 MB / 0.6173 GB, free: 6.477 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02745/0.5972, allocations: 12.35 MB / 0.6294 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0838/0.681, allocations: 58.15 MB / 0.6862 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01657/0.6976, allocations: 6.272 MB / 0.6923 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005164/0.7028, allocations: 3.719 MB / 0.6959 GB, free: 4.277 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0181/0.721, allocations: 8.551 MB / 0.7043 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.352e-05/0.7211, allocations: 68.14 kB / 0.7043 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=236): time 6.512e-06/0.7211, allocations: 0 / 0.7043 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=278): time 0.3863/1.107, allocations: 30.45 MB / 0.7341 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/1.108, allocations: 236.5 kB / 0.7343 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009075/1.117, allocations: 6.75 MB / 0.7409 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007515/1.117, allocations: 69.33 kB / 0.741 GB, free: 159 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002351/1.12, allocations: 4.495 MB / 0.7453 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001277/1.121, allocations: 1.071 MB / 0.7464 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002242/1.123, allocations: 1.799 MB / 0.7482 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.964e-05/1.123, allocations: 308.1 kB / 0.7484 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004479/1.128, allocations: 3.581 MB / 0.7519 GB, free: 152 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005917/1.134, allocations: 8.687 MB / 0.7604 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/1.145, allocations: 13.2 MB / 0.7733 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001256/1.145, allocations: 52 kB / 0.7734 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1146) (initialization): time 0.02244/1.167, allocations: 14.06 MB / 0.7871 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/1.168, allocations: 80 kB / 0.7872 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001535/1.168, allocations: 183.8 kB / 0.7873 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005067/1.173, allocations: 2.288 MB / 0.7896 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006018/1.179, allocations: 2.012 MB / 0.7915 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/1.194, allocations: 14.33 MB / 0.8055 GB, free: 93.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006955/1.201, allocations: 0.5026 MB / 0.806 GB, free: 92.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/1.202, allocations: 0.5195 MB / 0.8065 GB, free: 92.21 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 814 * Number of states: 0 () * Number of discrete variables: 67 (torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1064): * Single equations (assignments): 1057 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004926/1.207, allocations: 3.042 MB / 0.8095 GB, free: 89.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001285/1.208, allocations: 0.5631 MB / 0.8101 GB, free: 88.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/1.219, allocations: 7.083 MB / 0.817 GB, free: 81.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.063e-05/1.219, allocations: 15.95 kB / 0.817 GB, free: 81.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.219, allocations: 0 / 0.817 GB, free: 81.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/1.221, allocations: 0.6226 MB / 0.8176 GB, free: 80.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008453/1.222, allocations: 40 kB / 0.8176 GB, free: 80.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002432/1.224, allocations: 199.5 kB / 0.8178 GB, free: 80.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004546/1.225, allocations: 201.6 kB / 0.818 GB, free: 80.39 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01207/1.237, allocations: 7.411 MB / 0.8253 GB, free: 73.01 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009914/1.247, allocations: 9.226 MB / 0.8343 GB, free: 63.71 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002429/1.249, allocations: 2.495 MB / 0.8367 GB, free: 61.22 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005178/1.255, allocations: 4.285 MB / 0.8409 GB, free: 56.95 MB / 0.5606 GB Notification: Performance of Backend: time 4.61e-07/1.255, allocations: 0 / 0.8409 GB, free: 56.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.266, allocations: 6.773 MB / 0.8475 GB, free: 50.21 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02018/1.286, allocations: 14.15 MB / 0.8613 GB, free: 36.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.1278/1.414, allocations: 75.6 MB / 0.9351 GB, free: 8.844 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches