Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.00106, allocations: 109.9 kB / 18.45 MB, free: 4.602 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.001066/0.001066, allocations: 185.9 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.391/1.391, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2259/0.2259, allocations: 44.19 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3697, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.01828/0.388, allocations: 17.34 MB / 0.5365 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01462/0.4027, allocations: 5.475 MB / 0.5419 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003888/0.4066, allocations: 117.7 kB / 0.542 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008635/0.4153, allocations: 4.364 MB / 0.5462 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008409/0.4238, allocations: 2.826 MB / 0.549 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003533/0.4273, allocations: 1.465 MB / 0.5504 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01206/0.4394, allocations: 8.464 MB / 0.5587 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007029/0.4465, allocations: 5.369 MB / 0.5639 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004903/0.4514, allocations: 2.671 MB / 0.5665 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006086/0.4575, allocations: 3.844 MB / 0.5703 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002046/0.4596, allocations: 0.5352 MB / 0.5708 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004569/0.4641, allocations: 1.627 MB / 0.5724 GB, free: 5.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005145/0.4693, allocations: 3.394 MB / 0.5757 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007371/0.4767, allocations: 3.651 MB / 0.5793 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01522/0.4919, allocations: 11.22 MB / 0.5902 GB, free: 3.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.492, allocations: 0 / 0.5902 GB, free: 3.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.492, allocations: 3.938 kB / 0.5903 GB, free: 3.426 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004062/0.4924, allocations: 0 / 0.5903 GB, free: 3.426 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: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02388/0.5163, allocations: 8.202 MB / 0.5983 GB, free: 11.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.5164, allocations: 8.031 kB / 0.5983 GB, free: 11.13 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03055/0.5469, allocations: 3.677 MB / 0.6019 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0141/0.5611, allocations: 5.399 MB / 0.6071 GB, free: 1.957 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003911/0.5615, allocations: 365.8 kB / 0.6075 GB, free: 1.598 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002079/0.5636, allocations: 0.5153 MB / 0.608 GB, free: 1.082 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03432/0.5979, allocations: 16.24 MB / 0.6238 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003162/0.5983, allocations: 79.3 kB / 0.6239 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001721/0.6, allocations: 239.8 kB / 0.6242 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005244/0.6053, allocations: 2.923 MB / 0.627 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03166/0.6369, allocations: 13.71 MB / 0.6404 GB, free: 14.79 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0957/0.7327, allocations: 64.53 MB / 0.7034 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02488/0.7576, allocations: 7.869 MB / 0.7111 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00636/0.764, allocations: 4.342 MB / 0.7153 GB, free: 4 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3452/1.109, allocations: 19.36 MB / 0.7342 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/1.109, allocations: 74.64 kB / 0.7343 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=290): time 4.819e-06/1.109, allocations: 0 / 0.7343 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=372): time 0.1535/1.263, allocations: 49.82 MB / 0.783 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/1.263, allocations: 269.8 kB / 0.7832 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006946/1.27, allocations: 6.054 MB / 0.7891 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008844/1.271, allocations: 85.64 kB / 0.7892 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00213/1.273, allocations: 4.666 MB / 0.7938 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001291/1.274, allocations: 1.378 MB / 0.7951 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0022/1.276, allocations: 1.912 MB / 0.797 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.079e-05/1.276, allocations: 301.1 kB / 0.7973 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004919/1.281, allocations: 4.224 MB / 0.8014 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006687/1.288, allocations: 9.449 MB / 0.8106 GB, free: 89.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01299/1.301, allocations: 14.62 MB / 0.8249 GB, free: 72.65 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.449e-05/1.301, allocations: 56 kB / 0.825 GB, free: 72.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03061/1.332, allocations: 17.55 MB / 0.8421 GB, free: 55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/1.332, allocations: 84.03 kB / 0.8422 GB, free: 54.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001945/1.332, allocations: 188.6 kB / 0.8424 GB, free: 54.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01374/1.346, allocations: 4.546 MB / 0.8468 GB, free: 50.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007287/1.353, allocations: 2.125 MB / 0.8489 GB, free: 48.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03263/1.386, allocations: 25.38 MB / 0.8737 GB, free: 22.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009581/1.396, allocations: 0.5222 MB / 0.8742 GB, free: 21.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001824/1.397, allocations: 0.539 MB / 0.8747 GB, free: 21.34 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (1136): * Single equations (assignments): 1131 * Array equations: 3 * 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,44,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006065/1.404, allocations: 3.11 MB / 0.8777 GB, free: 18.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001454/1.405, allocations: 0.5631 MB / 0.8783 GB, free: 17.65 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02232/1.427, allocations: 10.71 MB / 0.8888 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.655e-05/1.427, allocations: 15.94 kB / 0.8888 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/1.427, allocations: 8 kB / 0.8888 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001506/1.429, allocations: 0.5835 MB / 0.8893 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001632/1.431, allocations: 71.33 kB / 0.8894 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0039/1.435, allocations: 219.7 kB / 0.8896 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009719/1.436, allocations: 301.9 kB / 0.8899 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02401/1.46, allocations: 10.38 MB / 0.9 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01854/1.478, allocations: 11.47 MB / 0.9112 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004709/1.483, allocations: 3.24 MB / 0.9144 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007569/1.49, allocations: 3.777 MB / 0.9181 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of Backend: time 6.81e-07/1.49, allocations: 0 / 0.9181 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01956/1.51, allocations: 7.898 MB / 0.9258 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0324/1.542, allocations: 15.05 MB / 0.9405 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of Templates: time 0.3931/1.936, allocations: 93.85 MB / 1.032 GB, free: 131.9 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches