Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 108.4 kB / 18.4 MB, free: 4.699 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.001237/0.001237, allocations: 186.2 kB / 19.34 MB, free: 3.777 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.269/1.269, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.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.00113/0.00113, allocations: 51.94 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07093/0.07208, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.1526/0.2247, allocations: 12.49 MB / 388.3 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007272/0.232, allocations: 4.187 MB / 392.5 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.2333, allocations: 73.72 kB / 392.6 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004927/0.2383, allocations: 3.228 MB / 395.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004163/0.2425, allocations: 2.077 MB / 397.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.244, allocations: 0.8283 MB / 398.7 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005177/0.2492, allocations: 4.558 MB / 403.3 MB, free: 15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004135/0.2533, allocations: 4.171 MB / 407.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.2554, allocations: 1.764 MB / 409.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002555/0.258, allocations: 2.345 MB / 411.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005663/0.2586, allocations: 389.5 kB / 411.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002102/0.2607, allocations: 1.27 MB / 413.2 MB, free: 9.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001818/0.2625, allocations: 2.229 MB / 415.4 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002147/0.2647, allocations: 2.551 MB / 418 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00697/0.2717, allocations: 8.245 MB / 426.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2717, allocations: 0 / 426.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2717, allocations: 4 kB / 426.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.952e-05/0.2718, allocations: 0 / 426.2 MB, free: 13.01 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.008494/0.2803, allocations: 5.513 MB / 431.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2803, allocations: 12.03 kB / 431.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009148/0.2895, allocations: 2.232 MB / 434 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004913/0.2944, allocations: 2.995 MB / 437 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.2946, allocations: 274.7 kB / 437.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005448/0.2951, allocations: 347.7 kB / 437.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01604/0.3112, allocations: 11.65 MB / 449.2 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.559e-05/0.3113, allocations: 47.59 kB / 449.3 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004033/0.3117, allocations: 171.8 kB / 449.5 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003682/0.3154, allocations: 2.342 MB / 451.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01666/0.3321, allocations: 9.979 MB / 461.8 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04617/0.3783, allocations: 44.27 MB / 0.4942 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01266/0.3909, allocations: 5.33 MB / 0.4994 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003391/0.3944, allocations: 2.819 MB / 0.5021 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01136/0.4057, allocations: 8.12 MB / 0.5101 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.4058, allocations: 63.81 kB / 0.5101 GB, free: 10.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=216): time 4.238e-06/0.4058, allocations: 3.938 kB / 0.5101 GB, free: 10.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=237): time 0.05328/0.4591, allocations: 20.78 MB / 0.5304 GB, free: 5.52 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.854e-05/0.4592, allocations: 180.2 kB / 0.5306 GB, free: 5.305 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006796/0.466, allocations: 4.762 MB / 0.5353 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002384/0.4663, allocations: 61.7 kB / 0.5353 GB, free: 476 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002123/0.4684, allocations: 3.401 MB / 0.5386 GB, free: 13.02 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007714/0.4692, allocations: 0.8907 MB / 0.5395 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/0.4709, allocations: 1.373 MB / 0.5408 GB, free: 10.73 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.471, allocations: 309.1 kB / 0.5411 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003812/0.4749, allocations: 2.703 MB / 0.5438 GB, free: 7.719 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1641/0.639, allocations: 6.609 MB / 0.5502 GB, free: 142.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/0.6494, allocations: 10.08 MB / 0.5601 GB, free: 136.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.512e-05/0.6495, allocations: 40.67 kB / 0.5601 GB, free: 136.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.0161/0.6656, allocations: 10.18 MB / 0.5701 GB, free: 132.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.483e-05/0.6658, allocations: 63.22 kB / 0.5701 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/0.6659, allocations: 137.3 kB / 0.5703 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003021/0.6689, allocations: 1.204 MB / 0.5714 GB, free: 132.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00525/0.6742, allocations: 1.601 MB / 0.573 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007849/0.6821, allocations: 7.268 MB / 0.5801 GB, free: 128.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004386/0.6865, allocations: 387 kB / 0.5805 GB, free: 128.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004343/0.6869, allocations: 408.6 kB / 0.5808 GB, free: 128.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (835): * Single equations (assignments): 829 * Array equations: 5 * 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 {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00257/0.6895, allocations: 2.386 MB / 0.5832 GB, free: 127.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005201/0.69, allocations: 411.7 kB / 0.5836 GB, free: 127.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007046/0.6971, allocations: 4.771 MB / 0.5882 GB, free: 125.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/0.6971, allocations: 15.28 kB / 0.5882 GB, free: 125.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.6971, allocations: 0 / 0.5882 GB, free: 125.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/0.6983, allocations: 0.821 MB / 0.589 GB, free: 125.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004578/0.6988, allocations: 37.28 kB / 0.5891 GB, free: 125.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/0.7004, allocations: 150.4 kB / 0.5892 GB, free: 125.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002845/0.7007, allocations: 144.4 kB / 0.5894 GB, free: 125.3 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007953/0.7087, allocations: 5.26 MB / 0.5945 GB, free: 122.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00715/0.7159, allocations: 7.093 MB / 0.6014 GB, free: 116.1 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001857/0.7177, allocations: 1.918 MB / 0.6033 GB, free: 114.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00324/0.721, allocations: 3.014 MB / 0.6062 GB, free: 111.2 MB / 478.1 MB Notification: Performance of Backend: time 3.5e-07/0.721, allocations: 0 / 0.6062 GB, free: 111.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007781/0.7288, allocations: 5.096 MB / 0.6112 GB, free: 106.2 MB / 478.1 MB Notification: Performance of SimCode: time 0.0123/0.7411, allocations: 10.45 MB / 0.6214 GB, free: 95.7 MB / 478.1 MB Notification: Performance of Templates: time 0.0739/0.815, allocations: 54.58 MB / 0.6747 GB, free: 41.2 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches