Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 110.6 kB / 17.09 MB, free: 6.004 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.001369/0.001369, allocations: 195.3 kB / 18.02 MB, free: 5.082 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.609/1.609, 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.2224/0.2224, allocations: 43.52 MB / 314.8 MB, free: 484 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.001398/0.001398, allocations: 67.89 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1179, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01218/0.1301, allocations: 11.23 MB / 0.4995 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008707/0.1388, allocations: 4.061 MB / 0.5035 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.141, allocations: 59.88 kB / 0.5035 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00561/0.1466, allocations: 2.831 MB / 0.5063 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006067/0.1527, allocations: 1.93 MB / 0.5082 GB, free: 7.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002415/0.1552, allocations: 0.7173 MB / 0.5089 GB, free: 6.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007351/0.1625, allocations: 4.175 MB / 0.513 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00558/0.1681, allocations: 3.89 MB / 0.5168 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.1712, allocations: 1.596 MB / 0.5183 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003343/0.1746, allocations: 2.239 MB / 0.5205 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001107/0.1757, allocations: 372 kB / 0.5209 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.1784, allocations: 1.248 MB / 0.5221 GB, free: 9.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002493/0.1809, allocations: 2.065 MB / 0.5241 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003888/0.1849, allocations: 2.381 MB / 0.5264 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2713/0.4561, allocations: 7.885 MB / 0.5341 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.4562, allocations: 2.125 kB / 0.5341 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4562, allocations: 0 / 0.5341 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002698/0.4565, allocations: 1.906 kB / 0.5341 GB, free: 15.45 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: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.01336/0.4698, allocations: 4.967 MB / 0.539 GB, free: 13.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.123e-05/0.4699, allocations: 17.98 kB / 0.539 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01825/0.4882, allocations: 2.534 MB / 0.5415 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/0.4988, allocations: 2.729 MB / 0.5441 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004913/0.4994, allocations: 249.6 kB / 0.5444 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002336/0.5017, allocations: 339.6 kB / 0.5447 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02142/0.5231, allocations: 10.45 MB / 0.5549 GB, free: 9.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001634/0.5233, allocations: 42.06 kB / 0.5549 GB, free: 9.906 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005165/0.5239, allocations: 159.5 kB / 0.5551 GB, free: 9.836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003586/0.5275, allocations: 2.098 MB / 0.5571 GB, free: 9.477 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/0.5443, allocations: 8.746 MB / 0.5657 GB, free: 6.629 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06741/0.6117, allocations: 38.41 MB / 0.6032 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007513/0.6193, allocations: 3.07 MB / 0.6062 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003258/0.6226, allocations: 1.735 MB / 0.6079 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006109/0.6232, allocations: 338.8 kB / 0.6082 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.592e-05/0.6233, allocations: 51.41 kB / 0.6083 GB, free: 12.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=176): time 6.993e-06/0.6234, allocations: 0 / 0.6083 GB, free: 12.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=194): time 0.04435/0.6677, allocations: 14.77 MB / 0.6227 GB, free: 13.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.6679, allocations: 208.9 kB / 0.6229 GB, free: 13.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00869/0.6766, allocations: 3.846 MB / 0.6266 GB, free: 9.582 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005789/0.6772, allocations: 53.7 kB / 0.6267 GB, free: 9.523 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003129/0.6803, allocations: 3.184 MB / 0.6298 GB, free: 6.352 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00153/0.6819, allocations: 0.7397 MB / 0.6305 GB, free: 5.617 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003293/0.6852, allocations: 1.245 MB / 0.6317 GB, free: 4.359 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6854, allocations: 301.1 kB / 0.632 GB, free: 4.062 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004346/0.6897, allocations: 2.261 MB / 0.6342 GB, free: 1.797 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007549/0.6973, allocations: 5.947 MB / 0.64 GB, free: 10.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/0.7096, allocations: 8.832 MB / 0.6487 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001313/0.7097, allocations: 41.53 kB / 0.6487 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01826/0.728, allocations: 8.473 MB / 0.657 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.7282, allocations: 60.78 kB / 0.657 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002488/0.7284, allocations: 131.9 kB / 0.6572 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002054/0.7305, allocations: 0.6841 MB / 0.6578 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005703/0.7362, allocations: 1.45 MB / 0.6592 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00631/0.7426, allocations: 4.372 MB / 0.6635 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006125/0.7487, allocations: 355.8 kB / 0.6639 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001588/0.7503, allocations: 380 kB / 0.6642 GB, free: 120 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (764): * Single equations (assignments): 760 * 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,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005779/0.7561, allocations: 2.235 MB / 0.6664 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001221/0.7573, allocations: 342.4 kB / 0.6667 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00785/0.7652, allocations: 3.252 MB / 0.6699 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-05/0.7653, allocations: 17.48 kB / 0.6699 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.7653, allocations: 4 kB / 0.6699 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002221/0.7675, allocations: 0.6488 MB / 0.6706 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/0.7686, allocations: 28 kB / 0.6706 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002187/0.7708, allocations: 127.8 kB / 0.6707 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004257/0.7713, allocations: 133.1 kB / 0.6708 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007614/0.7789, allocations: 3.841 MB / 0.6746 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008972/0.7879, allocations: 5.569 MB / 0.68 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002318/0.7902, allocations: 1.474 MB / 0.6815 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005514/0.7958, allocations: 2.392 MB / 0.6838 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of Backend: time 6.71e-07/0.7958, allocations: 0 / 0.6838 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01206/0.8078, allocations: 4.32 MB / 0.688 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of SimCode: time 0.02184/0.8297, allocations: 9.364 MB / 0.6972 GB, free: 14.34 MB / 0.545 GB Notification: Performance of Templates: time 0.1126/0.9424, allocations: 46.35 MB / 0.7424 GB, free: 72 kB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches