Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001132/0.001132, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009513/0.0009512, allocations: 102.6 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1968/0.1968, allocations: 45.14 MB / 383.8 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.617e-05/1.619e-05, allocations: 7.938 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3833/0.489, allocations: 113.8 MB / 0.6155 GB, free: 5.082 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.4893, allocations: 78.27 kB / 0.6155 GB, free: 5.043 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2841/0.7734, allocations: 112.8 MB / 0.7257 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7734, allocations: 0 / 0.7257 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003934/0.7738, allocations: 108 kB / 0.7258 GB, free: 12.11 MB / 0.5105 GB 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.01797/0.7918, allocations: 5.915 MB / 0.7316 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.7919, allocations: 8.031 kB / 0.7316 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02677/0.8186, allocations: 6.899 MB / 0.7383 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01542/0.8341, allocations: 6.126 MB / 0.7443 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003349/0.8345, allocations: 176 kB / 0.7444 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00221/0.8367, allocations: 327.8 kB / 0.7448 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01415/0.8509, allocations: 8.112 MB / 0.7527 GB, free: 392 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2584/1.109, allocations: 12.04 MB / 0.7644 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002626/1.11, allocations: 73.17 kB / 0.7645 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009325/1.111, allocations: 34.31 kB / 0.7645 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001979/1.113, allocations: 1.356 MB / 0.7659 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05585/1.168, allocations: 60.65 MB / 0.8251 GB, free: 81.14 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004316/1.173, allocations: 4.365 MB / 0.8294 GB, free: 78.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002664/1.175, allocations: 3.052 MB / 0.8323 GB, free: 77.56 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01368/1.189, allocations: 12.34 MB / 0.8444 GB, free: 71.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/1.189, allocations: 58.66 kB / 0.8444 GB, free: 71.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=227): time 7.705e-06/1.189, allocations: 0 / 0.8444 GB, free: 71.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=265): time 0.04709/1.236, allocations: 24.71 MB / 0.8686 GB, free: 61.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/1.236, allocations: 257.4 kB / 0.8688 GB, free: 61.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004281/1.241, allocations: 3.84 MB / 0.8726 GB, free: 60.26 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002579/1.241, allocations: 27.05 kB / 0.8726 GB, free: 60.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001603/1.243, allocations: 4.039 MB / 0.8765 GB, free: 57.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006365/1.243, allocations: 0.9619 MB / 0.8775 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/1.244, allocations: 3.562 kB / 0.8775 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002705/1.244, allocations: 0.6286 MB / 0.8781 GB, free: 55.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002522/1.246, allocations: 2.426 MB / 0.8805 GB, free: 55.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0038/1.25, allocations: 6.903 MB / 0.8872 GB, free: 48.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004227/1.254, allocations: 4.04 MB / 0.8912 GB, free: 44.84 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.883e-05/1.254, allocations: 44 kB / 0.8912 GB, free: 44.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=997) (initialization): time 0.01178/1.266, allocations: 8.789 MB / 0.8998 GB, free: 37.08 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.887e-05/1.266, allocations: 75.95 kB / 0.8999 GB, free: 37.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/1.266, allocations: 160 kB / 0.9 GB, free: 36.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/1.268, allocations: 0.5882 MB / 0.9006 GB, free: 36.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005006/1.273, allocations: 1.795 MB / 0.9023 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00469/1.277, allocations: 5.419 MB / 0.9076 GB, free: 29.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005462/1.283, allocations: 259.8 kB / 0.9079 GB, free: 29.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009601/1.284, allocations: 458.5 kB / 0.9083 GB, free: 29.01 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (947): * Single equations (assignments): 942 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009075/1.285, allocations: 0.5163 MB / 0.9088 GB, free: 28.49 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006295/1.285, allocations: 438.4 kB / 0.9092 GB, free: 28.06 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005122/1.29, allocations: 3.774 MB / 0.9129 GB, free: 24.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/1.29, allocations: 31.75 kB / 0.913 GB, free: 24.87 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.29, allocations: 4 kB / 0.913 GB, free: 24.87 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/1.29, allocations: 10.41 kB / 0.913 GB, free: 24.87 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/1.304, allocations: 8.999 MB / 0.9218 GB, free: 17.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.304, allocations: 7.516 kB / 0.9218 GB, free: 17.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00217/1.306, allocations: 469.3 kB / 0.9222 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008144/1.307, allocations: 337 kB / 0.9225 GB, free: 16.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/1.307, allocations: 7.703 kB / 0.9225 GB, free: 16.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003763/1.311, allocations: 4.756 MB / 0.9272 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.311, allocations: 0 / 0.9272 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007092/1.318, allocations: 6.87 MB / 0.9339 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008445/1.319, allocations: 461.7 kB / 0.9343 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004573/1.319, allocations: 3.953 kB / 0.9343 GB, free: 5.684 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/1.321, allocations: 123.7 kB / 0.9345 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/1.321, allocations: 150.6 kB / 0.9346 GB, free: 5.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/1.322, allocations: 67.94 kB / 0.9347 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00308/1.325, allocations: 2.574 MB / 0.9372 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/1.325, allocations: 4 kB / 0.9372 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005119/1.33, allocations: 1.117 MB / 0.9383 GB, free: 2.113 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 220 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000416/1.33, allocations: 152.1 kB / 0.9384 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008783/1.339, allocations: 6.098 MB / 0.9444 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/1.339, allocations: 0 / 0.9444 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002675/1.342, allocations: 2.119 MB / 0.9464 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/1.344, allocations: 473.9 kB / 0.9469 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/1.361, allocations: 9.964 MB / 0.9566 GB, free: 1.312 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2376/1.599, allocations: 4.209 MB / 0.9607 GB, free: 121.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006289/1.605, allocations: 2.429 MB / 0.9631 GB, free: 121.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009683/1.606, allocations: 308 kB / 0.9634 GB, free: 121.1 MB / 0.5417 GB Notification: Performance of SimCode: time 6.22e-07/1.606, allocations: 0 / 0.9634 GB, free: 121.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.06602/1.672, allocations: 39.85 MB / 1.002 GB, free: 119.5 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches