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.001181/0.001181, allocations: 111.3 kB / 17.04 MB, free: 5.812 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.001172/0.001172, allocations: 195 kB / 17.98 MB, free: 5.027 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.328/1.328, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.1968/0.1968, allocations: 43.52 MB / 314.7 MB, free: 496 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.001594/0.001594, allocations: 67.48 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09955/0.1012, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01394/0.1151, allocations: 15.03 MB / 457 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009976/0.1252, allocations: 5.008 MB / 462 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00255/0.1277, allocations: 103.7 kB / 462.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007407/0.1352, allocations: 4.026 MB / 466.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005627/0.1409, allocations: 2.35 MB / 468.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.1434, allocations: 1.162 MB / 469.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008046/0.1515, allocations: 6.168 MB / 475.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006358/0.1579, allocations: 4.702 MB / 480.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004042/0.1619, allocations: 2.235 MB / 482.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005225/0.1672, allocations: 3.03 MB / 485.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001656/0.1689, allocations: 456 kB / 486.2 MB, free: 9.691 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003737/0.1726, allocations: 1.533 MB / 487.8 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003594/0.1763, allocations: 2.712 MB / 490.5 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004751/0.181, allocations: 3.029 MB / 493.5 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.1925, allocations: 9.456 MB / 0.4912 GB, free: 8.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1926, allocations: 0 / 0.4912 GB, free: 8.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1926, allocations: 0 / 0.4912 GB, free: 8.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002697/0.1929, allocations: 0 / 0.4912 GB, free: 8.902 MB / 382.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.01471/0.2076, allocations: 6.749 MB / 0.4978 GB, free: 2.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.2077, allocations: 12.03 kB / 0.4978 GB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0243/0.232, allocations: 3.3 MB / 0.501 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01045/0.2425, allocations: 4.289 MB / 0.5052 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/0.2427, allocations: 308.4 kB / 0.5055 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001296/0.244, allocations: 431.6 kB / 0.5059 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02517/0.2692, allocations: 13.8 MB / 0.5194 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002039/0.2695, allocations: 63.42 kB / 0.5194 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007382/0.2702, allocations: 203.8 kB / 0.5196 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003757/0.274, allocations: 2.523 MB / 0.5221 GB, free: 8.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2075/0.4815, allocations: 11.8 MB / 0.5336 GB, free: 79.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05884/0.5404, allocations: 53.5 MB / 0.5859 GB, free: 41.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01417/0.5546, allocations: 5.913 MB / 0.5916 GB, free: 35.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003579/0.5582, allocations: 3.589 MB / 0.5951 GB, free: 31.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01764/0.5759, allocations: 15.43 MB / 0.6102 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.576, allocations: 68.5 kB / 0.6103 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=230): time 5.891e-06/0.576, allocations: 0 / 0.6103 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=267): time 0.08625/0.6622, allocations: 28.64 MB / 0.6382 GB, free: 2.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.6624, allocations: 261.3 kB / 0.6385 GB, free: 2.668 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009794/0.6722, allocations: 5.077 MB / 0.6435 GB, free: 13.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000907/0.6732, allocations: 69.64 kB / 0.6435 GB, free: 13.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004221/0.6774, allocations: 3.886 MB / 0.6473 GB, free: 9.633 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001949/0.6794, allocations: 1.001 MB / 0.6483 GB, free: 8.641 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004762/0.6842, allocations: 1.553 MB / 0.6498 GB, free: 7.082 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6843, allocations: 301.1 kB / 0.6501 GB, free: 6.785 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005638/0.69, allocations: 3.009 MB / 0.653 GB, free: 3.773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009066/0.6991, allocations: 7.348 MB / 0.6602 GB, free: 10.31 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/0.713, allocations: 11.09 MB / 0.671 GB, free: 13.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001293/0.7132, allocations: 44 kB / 0.6711 GB, free: 13.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.0214/0.7346, allocations: 11.21 MB / 0.682 GB, free: 1.84 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.7348, allocations: 68 kB / 0.6821 GB, free: 1.773 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002461/0.735, allocations: 152 kB / 0.6822 GB, free: 1.625 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003273/0.7383, allocations: 1.232 MB / 0.6834 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006934/0.7453, allocations: 1.829 MB / 0.6852 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.7558, allocations: 8.366 MB / 0.6934 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005886/0.7617, allocations: 437.9 kB / 0.6938 GB, free: 5.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00132/0.7631, allocations: 452 kB / 0.6942 GB, free: 5.074 MB / 494.1 MB 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.005313/0.7684, allocations: 2.642 MB / 0.6968 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/0.7696, allocations: 462 kB / 0.6973 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009484/0.7791, allocations: 5.237 MB / 0.7024 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.031e-05/0.7792, allocations: 24 kB / 0.7024 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/0.7793, allocations: 8 kB / 0.7024 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.29e-05/0.7793, allocations: 11.95 kB / 0.7024 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02489/0.8042, allocations: 11.67 MB / 0.7138 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.8043, allocations: 0 / 0.7138 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002566/0.8068, allocations: 0.4954 MB / 0.7143 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002841/0.8097, allocations: 0.9971 MB / 0.7153 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004664/0.8102, allocations: 47.98 kB / 0.7153 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008871/0.8191, allocations: 7.698 MB / 0.7228 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.8191, allocations: 4 kB / 0.7228 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2216/1.041, allocations: 8.726 MB / 0.7314 GB, free: 175.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003259/1.044, allocations: 0.8814 MB / 0.7322 GB, free: 175.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009601/1.045, allocations: 39.12 kB / 0.7323 GB, free: 175.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002392/1.047, allocations: 175.6 kB / 0.7324 GB, free: 175.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005132/1.048, allocations: 152 kB / 0.7326 GB, free: 175.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002356/1.048, allocations: 75.97 kB / 0.7326 GB, free: 175.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006291/1.054, allocations: 3.177 MB / 0.7357 GB, free: 175 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.81e-07/1.055, allocations: 0 / 0.7357 GB, free: 175 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007223/1.062, allocations: 1.374 MB / 0.7371 GB, free: 175 MB / 0.5137 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.000671/1.062, allocations: 184.8 kB / 0.7373 GB, free: 174.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01302/1.075, allocations: 7.331 MB / 0.7444 GB, free: 173.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.076, allocations: 0 / 0.7444 GB, free: 173.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003189/1.079, allocations: 2.563 MB / 0.7469 GB, free: 172.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003433/1.082, allocations: 0.5865 MB / 0.7475 GB, free: 171.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/1.1, allocations: 12.77 MB / 0.76 GB, free: 166.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004023/1.104, allocations: 4.111 MB / 0.764 GB, free: 165.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005067/1.109, allocations: 2.368 MB / 0.7663 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/1.11, allocations: 322.9 kB / 0.7666 GB, free: 164.5 MB / 0.5137 GB Notification: Performance of SimCode: time 7.11e-07/1.11, allocations: 0 / 0.7666 GB, free: 164.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.07722/1.188, allocations: 45.85 MB / 0.8114 GB, free: 120.6 MB / 0.5137 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 -s gbode -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