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.001407/0.001407, allocations: 104.1 kB / 15.98 MB, free: 6.355 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.001504/0.001504, allocations: 193.1 kB / 16.91 MB, free: 6.191 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.626/1.626, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.3859/0.3859, allocations: 43.5 MB / 313.6 MB, free: 8.477 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.00143/0.00143, allocations: 67.91 kB / 382.2 MB, free: 8.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1436, allocations: 57.78 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3602/0.5039, allocations: 63.96 MB / 0.4922 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03959/0.5436, allocations: 12.99 MB / 0.5048 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01928/0.5629, allocations: 285.9 kB / 0.5051 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009354/0.5722, allocations: 3.872 MB / 0.5089 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01021/0.5826, allocations: 2.196 MB / 0.511 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.587, allocations: 1.1 MB / 0.5121 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01531/0.6023, allocations: 6.399 MB / 0.5184 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008795/0.6111, allocations: 4.94 MB / 0.5232 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006257/0.6174, allocations: 2.294 MB / 0.5254 GB, free: 8.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006935/0.6244, allocations: 3.358 MB / 0.5287 GB, free: 6.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001833/0.6263, allocations: 460 kB / 0.5291 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004616/0.6309, allocations: 1.556 MB / 0.5307 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004254/0.6352, allocations: 2.755 MB / 0.5334 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00552/0.6407, allocations: 3.049 MB / 0.5363 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01405/0.6548, allocations: 9.237 MB / 0.5454 GB, free: 5.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.6548, allocations: 0 / 0.5454 GB, free: 5.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6548, allocations: 0 / 0.5454 GB, free: 5.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003764/0.6552, allocations: 0 / 0.5454 GB, free: 5.34 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.01869/0.6739, allocations: 6.765 MB / 0.552 GB, free: 14.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.674, allocations: 12.02 kB / 0.552 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02497/0.699, allocations: 3.3 MB / 0.5552 GB, free: 11.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/0.7094, allocations: 4.195 MB / 0.5593 GB, free: 6.918 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000341/0.7098, allocations: 324.5 kB / 0.5596 GB, free: 6.598 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/0.7117, allocations: 419.7 kB / 0.56 GB, free: 6.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03091/0.7427, allocations: 13.82 MB / 0.5735 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002642/0.743, allocations: 59.52 kB / 0.5736 GB, free: 7.438 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006899/0.7437, allocations: 195.8 kB / 0.5737 GB, free: 7.246 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004502/0.7482, allocations: 2.527 MB / 0.5762 GB, free: 4.715 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02693/0.7751, allocations: 11.81 MB / 0.5877 GB, free: 8.898 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3587/1.134, allocations: 53.73 MB / 0.6402 GB, free: 109.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01561/1.15, allocations: 5.912 MB / 0.646 GB, free: 109.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004633/1.154, allocations: 3.594 MB / 0.6495 GB, free: 108.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02291/1.177, allocations: 15.45 MB / 0.6646 GB, free: 100.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/1.177, allocations: 57.59 kB / 0.6646 GB, free: 100.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=230): time 6.912e-06/1.177, allocations: 0 / 0.6646 GB, free: 100.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.09637/1.274, allocations: 28.64 MB / 0.6926 GB, free: 91.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.706e-05/1.274, allocations: 260.6 kB / 0.6928 GB, free: 91.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006979/1.281, allocations: 5.092 MB / 0.6978 GB, free: 89.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007198/1.282, allocations: 63.23 kB / 0.6979 GB, free: 89.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002116/1.284, allocations: 3.887 MB / 0.7017 GB, free: 86.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001278/1.285, allocations: 1.002 MB / 0.7027 GB, free: 85.56 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001973/1.287, allocations: 1.547 MB / 0.7042 GB, free: 84.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.46e-05/1.287, allocations: 305.1 kB / 0.7045 GB, free: 84.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003444/1.29, allocations: 3.008 MB / 0.7074 GB, free: 82.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005366/1.296, allocations: 7.349 MB / 0.7146 GB, free: 73.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009879/1.306, allocations: 11.1 MB / 0.7254 GB, free: 60.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001235/1.306, allocations: 44 kB / 0.7254 GB, free: 60.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01786/1.324, allocations: 11.2 MB / 0.7364 GB, free: 49.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.743e-05/1.324, allocations: 68 kB / 0.7365 GB, free: 49.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001213/1.324, allocations: 152.1 kB / 0.7366 GB, free: 48.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002657/1.327, allocations: 1.228 MB / 0.7378 GB, free: 47.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006473/1.333, allocations: 1.833 MB / 0.7396 GB, free: 45.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007797/1.341, allocations: 8.376 MB / 0.7478 GB, free: 37.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00705/1.348, allocations: 423.4 kB / 0.7482 GB, free: 36.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001841/1.35, allocations: 452 kB / 0.7486 GB, free: 36.39 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.005607/1.356, allocations: 2.632 MB / 0.7512 GB, free: 33.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001361/1.357, allocations: 469.9 kB / 0.7516 GB, free: 33.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007667/1.365, allocations: 5.232 MB / 0.7567 GB, free: 28.03 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.193e-05/1.365, allocations: 31.44 kB / 0.7568 GB, free: 28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/1.365, allocations: 8 kB / 0.7568 GB, free: 28 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-05/1.365, allocations: 11.95 kB / 0.7568 GB, free: 27.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/1.384, allocations: 11.76 MB / 0.7683 GB, free: 16.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.258e-05/1.384, allocations: 0.8125 kB / 0.7683 GB, free: 16.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002406/1.386, allocations: 0.5031 MB / 0.7687 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002354/1.389, allocations: 0.9926 MB / 0.7697 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003193/1.389, allocations: 40 kB / 0.7698 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006628/1.396, allocations: 7.702 MB / 0.7773 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.396, allocations: 0 / 0.7773 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/1.407, allocations: 8.723 MB / 0.7858 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002433/1.409, allocations: 0.8855 MB / 0.7867 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006837/1.41, allocations: 43.94 kB / 0.7867 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002049/1.412, allocations: 171.8 kB / 0.7869 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004479/1.412, allocations: 149.8 kB / 0.787 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/1.412, allocations: 75.89 kB / 0.7871 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005444/1.418, allocations: 3.178 MB / 0.7902 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.154e-06/1.418, allocations: 112 / 0.7902 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00835/1.426, allocations: 1.376 MB / 0.7915 GB, free: 8.051 MB / 0.4981 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.0005951/1.427, allocations: 193.2 kB / 0.7917 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01713/1.444, allocations: 10.12 MB / 0.8016 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.444, allocations: 0 / 0.8016 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003605/1.448, allocations: 2.569 MB / 0.8041 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/1.451, allocations: 0.5878 MB / 0.8047 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02505/1.476, allocations: 15.57 MB / 0.8199 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004695/1.481, allocations: 4.129 MB / 0.8239 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007284/1.488, allocations: 2.362 MB / 0.8262 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001738/1.49, allocations: 319.4 kB / 0.8265 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of SimCode: time 1.863e-06/1.49, allocations: 0 / 0.8265 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of Templates: time 0.3058/1.796, allocations: 52.19 MB / 0.8775 GB, free: 160.6 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches