Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 116.4 kB / 17.08 MB, free: 5.996 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.00174/0.00174, allocations: 193.3 kB / 18.01 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.45/1.45, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2161/0.2161, allocations: 43.52 MB / 314.8 MB, free: 472 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.001433/0.001433, allocations: 75.89 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1078, allocations: 57.78 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01675/0.1247, allocations: 15.05 MB / 0.5032 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.1353, allocations: 5 MB / 0.5081 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002991/0.1383, allocations: 103.7 kB / 0.5082 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007615/0.146, allocations: 4.026 MB / 0.5122 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006666/0.1528, allocations: 2.361 MB / 0.5145 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.1557, allocations: 1.162 MB / 0.5156 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008811/0.1645, allocations: 6.172 MB / 0.5216 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006443/0.171, allocations: 4.702 MB / 0.5262 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004042/0.1751, allocations: 2.212 MB / 0.5284 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2479/0.423, allocations: 3.037 MB / 0.5313 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001896/0.4249, allocations: 459 kB / 0.5318 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004128/0.4291, allocations: 1.543 MB / 0.5333 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004074/0.4332, allocations: 2.76 MB / 0.536 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005791/0.439, allocations: 3.025 MB / 0.5389 GB, free: 9.633 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01547/0.4545, allocations: 9.46 MB / 0.5482 GB, free: 8.262 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.4546, allocations: 1.188 kB / 0.5482 GB, free: 8.262 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4546, allocations: 0 / 0.5482 GB, free: 8.262 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004316/0.455, allocations: 0 / 0.5482 GB, free: 8.262 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.02372/0.4787, allocations: 6.761 MB / 0.5548 GB, free: 5.715 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.4788, allocations: 9.875 kB / 0.5548 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02885/0.5077, allocations: 3.298 MB / 0.558 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/0.5188, allocations: 4.291 MB / 0.5622 GB, free: 3.453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.519, allocations: 306.2 kB / 0.5625 GB, free: 3.352 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001974/0.521, allocations: 431 kB / 0.5629 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02969/0.5507, allocations: 13.82 MB / 0.5764 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002254/0.551, allocations: 58.7 kB / 0.5765 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001359/0.5524, allocations: 198.4 kB / 0.5766 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004167/0.5565, allocations: 2.522 MB / 0.5791 GB, free: 9.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02641/0.583, allocations: 11.8 MB / 0.5906 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07019/0.6532, allocations: 53.49 MB / 0.6429 GB, free: 7.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01715/0.6704, allocations: 5.91 MB / 0.6486 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005273/0.6757, allocations: 3.604 MB / 0.6522 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0265/0.7023, allocations: 15.43 MB / 0.6672 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.291e-05/0.7024, allocations: 68.2 kB / 0.6673 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=230): time 6.362e-06/0.7024, allocations: 0 / 0.6673 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.1008/0.8032, allocations: 28.63 MB / 0.6953 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001674/0.8034, allocations: 268 kB / 0.6955 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01246/0.8159, allocations: 5.088 MB / 0.7005 GB, free: 11.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009156/0.8169, allocations: 69.7 kB / 0.7006 GB, free: 11.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00378/0.8207, allocations: 3.886 MB / 0.7043 GB, free: 7.754 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001866/0.8225, allocations: 1.004 MB / 0.7053 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004061/0.8266, allocations: 1.542 MB / 0.7068 GB, free: 5.211 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.8267, allocations: 309.1 kB / 0.7071 GB, free: 4.906 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004795/0.8316, allocations: 3.006 MB / 0.7101 GB, free: 1.898 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008551/0.8401, allocations: 7.351 MB / 0.7172 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01529/0.8554, allocations: 11.09 MB / 0.7281 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001593/0.8557, allocations: 44 kB / 0.7281 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02467/0.8803, allocations: 11.2 MB / 0.7391 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/0.8806, allocations: 68 kB / 0.7391 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002864/0.8809, allocations: 152.9 kB / 0.7393 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003564/0.8844, allocations: 1.224 MB / 0.7405 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007191/0.8917, allocations: 1.833 MB / 0.7423 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/0.9025, allocations: 8.364 MB / 0.7504 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00716/0.9097, allocations: 430.8 kB / 0.7508 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001889/0.9116, allocations: 448 kB / 0.7513 GB, free: 4.113 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[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],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 (954): * Single equations (assignments): 949 * 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,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008158/0.9198, allocations: 2.638 MB / 0.7538 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001865/0.9217, allocations: 469.9 kB / 0.7543 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2807/1.202, allocations: 5.229 MB / 0.7594 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.734e-05/1.203, allocations: 28.44 kB / 0.7594 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.666e-05/1.203, allocations: 10.84 kB / 0.7594 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-05/1.203, allocations: 13.39 kB / 0.7594 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02662/1.229, allocations: 11.65 MB / 0.7708 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-05/1.229, allocations: 1.344 kB / 0.7708 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002848/1.232, allocations: 0.4934 MB / 0.7713 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002682/1.235, allocations: 0.9897 MB / 0.7723 GB, free: 204.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003948/1.235, allocations: 49.88 kB / 0.7723 GB, free: 204.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007404/1.243, allocations: 7.701 MB / 0.7798 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.243, allocations: 7.875 kB / 0.7798 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/1.255, allocations: 8.731 MB / 0.7884 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002626/1.257, allocations: 0.8849 MB / 0.7892 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/1.258, allocations: 44 kB / 0.7893 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002586/1.261, allocations: 170.7 kB / 0.7894 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004506/1.261, allocations: 146.6 kB / 0.7896 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/1.262, allocations: 70.23 kB / 0.7896 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00556/1.267, allocations: 3.178 MB / 0.7927 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4e-07/1.267, allocations: 0 / 0.7927 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007986/1.275, allocations: 1.379 MB / 0.7941 GB, free: 194.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (227): * Single equations (assignments): 222 * 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 {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007693/1.276, allocations: 181.3 kB / 0.7943 GB, free: 194.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01014/1.286, allocations: 7.333 MB / 0.8014 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.286, allocations: 0 / 0.8014 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002979/1.289, allocations: 2.574 MB / 0.8039 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004229/1.293, allocations: 0.5803 MB / 0.8045 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02394/1.317, allocations: 13.3 MB / 0.8175 GB, free: 171.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006045/1.323, allocations: 4.076 MB / 0.8215 GB, free: 167.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00185/1.325, allocations: 379.4 kB / 0.8218 GB, free: 166.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.182e-06/1.325, allocations: 4 kB / 0.8218 GB, free: 166.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1611/1.487, allocations: 125.6 MB / 0.9445 GB, free: 40.98 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches