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.0008875/0.0008875, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009292/0.0009293, allocations: 177.5 kB / 16.57 MB, free: 6.844 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.457/1.457, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3294/0.3294, allocations: 43.55 MB / 314.5 MB, free: 8.797 MB / 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.0004663/0.0004663, allocations: 16 kB / 383.9 MB, free: 8.051 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1186, allocations: 58.87 MB / 442.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.2235/0.3421, allocations: 45.6 MB / 488.3 MB, free: 22.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02001/0.3622, allocations: 11.01 MB / 499.4 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009018/0.3712, allocations: 218.4 kB / 499.6 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006807/0.3781, allocations: 2.261 MB / 0.4901 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01794/0.396, allocations: 6.571 MB / 0.4965 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.3989, allocations: 0.592 MB / 0.4971 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02191/0.4208, allocations: 14.11 MB / 0.5108 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006874/0.4277, allocations: 4.345 MB / 0.5151 GB, free: 4.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/0.4303, allocations: 1.026 MB / 0.5161 GB, free: 4.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.4332, allocations: 1.437 MB / 0.5175 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001018/0.4343, allocations: 156 kB / 0.5176 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002497/0.4368, allocations: 0.909 MB / 0.5185 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002044/0.4388, allocations: 1.66 MB / 0.5202 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001288/0.4401, allocations: 0.8857 MB / 0.521 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007421/0.4476, allocations: 6.215 MB / 0.5271 GB, free: 9.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.4476, allocations: 0 / 0.5271 GB, free: 9.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.4476, allocations: 0 / 0.5271 GB, free: 9.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001577/0.4478, allocations: 0 / 0.5271 GB, free: 9.629 MB / 398.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.009281/0.4571, allocations: 4.291 MB / 0.5313 GB, free: 5.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.4571, allocations: 12.02 kB / 0.5313 GB, free: 5.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0822/0.5393, allocations: 8.413 MB / 0.5395 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006387/0.5457, allocations: 2.849 MB / 0.5423 GB, free: 9.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/0.546, allocations: 254.4 kB / 0.5425 GB, free: 9.668 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000663/0.5466, allocations: 343.7 kB / 0.5429 GB, free: 9.332 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/0.5606, allocations: 10.4 MB / 0.553 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/0.5607, allocations: 47.58 kB / 0.5531 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003897/0.5611, allocations: 159.8 kB / 0.5532 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003096/0.5642, allocations: 2.096 MB / 0.5553 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01385/0.5781, allocations: 8.642 MB / 0.5637 GB, free: 3.293 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04888/0.627, allocations: 38.53 MB / 0.6013 GB, free: 11.67 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0057/0.6327, allocations: 3.004 MB / 0.6043 GB, free: 8.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004262/0.6332, allocations: 344.5 kB / 0.6046 GB, free: 8.129 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.6332, allocations: 51.5 kB / 0.6046 GB, free: 8.07 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 3.647e-06/0.6332, allocations: 0 / 0.6046 GB, free: 8.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.0314/0.6646, allocations: 14.46 MB / 0.6188 GB, free: 9.418 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.6648, allocations: 201.2 kB / 0.6189 GB, free: 9.176 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005126/0.6699, allocations: 3.951 MB / 0.6228 GB, free: 5.238 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002658/0.6702, allocations: 49.7 kB / 0.6229 GB, free: 5.184 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002146/0.6724, allocations: 3.222 MB / 0.626 GB, free: 1.914 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007738/0.6731, allocations: 0.7404 MB / 0.6267 GB, free: 1.164 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.6734, allocations: 116 kB / 0.6268 GB, free: 1.051 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003372/0.6737, allocations: 0.5621 MB / 0.6274 GB, free: 492 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1887/0.8625, allocations: 2.143 MB / 0.6295 GB, free: 138.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004058/0.8666, allocations: 5.813 MB / 0.6352 GB, free: 134 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004444/0.871, allocations: 3.444 MB / 0.6385 GB, free: 133.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.205e-05/0.8711, allocations: 37.81 kB / 0.6386 GB, free: 133.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.01026/0.8814, allocations: 7.981 MB / 0.6463 GB, free: 131.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.845e-05/0.8815, allocations: 64.08 kB / 0.6464 GB, free: 131.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/0.8816, allocations: 129.5 kB / 0.6465 GB, free: 131.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008381/0.8824, allocations: 461.9 kB / 0.647 GB, free: 131.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003823/0.8863, allocations: 1.434 MB / 0.6484 GB, free: 131 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.8892, allocations: 3.405 MB / 0.6517 GB, free: 128.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003782/0.893, allocations: 364.9 kB / 0.652 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005614/0.8936, allocations: 369.3 kB / 0.6524 GB, free: 128.7 MB / 494.1 MB 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 (745): * Single equations (assignments): 741 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003136/0.8967, allocations: 2.228 MB / 0.6546 GB, free: 127.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005572/0.8973, allocations: 345.5 kB / 0.6549 GB, free: 127.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004726/0.902, allocations: 2.922 MB / 0.6578 GB, free: 126.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.14e-05/0.9021, allocations: 23.17 kB / 0.6578 GB, free: 126.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.9021, allocations: 10.52 kB / 0.6578 GB, free: 126.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.9021, allocations: 7.797 kB / 0.6578 GB, free: 126.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/0.9145, allocations: 7.836 MB / 0.6654 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.9145, allocations: 1.031 kB / 0.6654 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/0.9161, allocations: 356 kB / 0.6658 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006844/0.9168, allocations: 262.5 kB / 0.666 GB, free: 123.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/0.9169, allocations: 38.72 kB / 0.6661 GB, free: 123.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/0.9198, allocations: 2.974 MB / 0.669 GB, free: 121.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9198, allocations: 1.891 kB / 0.669 GB, free: 121.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007641/0.9275, allocations: 5.605 MB / 0.6745 GB, free: 119.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/0.9291, allocations: 0.6412 MB / 0.6751 GB, free: 119.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000389/0.9295, allocations: 32.77 kB / 0.6751 GB, free: 119.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.9308, allocations: 129 kB / 0.6752 GB, free: 119.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/0.9311, allocations: 138.5 kB / 0.6754 GB, free: 119.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.9313, allocations: 54.92 kB / 0.6754 GB, free: 119.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003335/0.9346, allocations: 2.479 MB / 0.6778 GB, free: 118.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.9346, allocations: 0 / 0.6778 GB, free: 118.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003953/0.9386, allocations: 1.014 MB / 0.6788 GB, free: 118.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (164): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003675/0.939, allocations: 188.7 kB / 0.679 GB, free: 118 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007039/0.946, allocations: 5.162 MB / 0.6841 GB, free: 116.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.946, allocations: 0 / 0.6841 GB, free: 116.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002268/0.9483, allocations: 1.671 MB / 0.6857 GB, free: 115.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.9504, allocations: 389.5 kB / 0.6861 GB, free: 115.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/0.966, allocations: 11.25 MB / 0.697 GB, free: 106.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00273/0.9688, allocations: 3.551 MB / 0.7005 GB, free: 103.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003904/0.9727, allocations: 1.949 MB / 0.7024 GB, free: 102.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006322/0.9733, allocations: 257.2 kB / 0.7027 GB, free: 102.1 MB / 494.1 MB Notification: Performance of SimCode: time 6.61e-07/0.9733, allocations: 0 / 0.7027 GB, free: 102.1 MB / 494.1 MB Notification: Performance of Templates: time 0.04291/1.016, allocations: 33.75 MB / 0.7356 GB, free: 69.22 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches