Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001054/0.001054, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007588/0.0007588, allocations: 99.02 kB / 296.1 MB, free: 6.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2918/0.2918, allocations: 44.82 MB / 393 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002658/0.0002661, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3118, allocations: 62.95 MB / 0.5165 GB, free: 36.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.4399, allocations: 114.5 MB / 0.6283 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.4402, allocations: 83.95 kB / 0.6284 GB, free: 6.734 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4585/0.8987, allocations: 112.3 MB / 0.7381 GB, free: 97.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.8987, allocations: 4 kB / 0.7381 GB, free: 97.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003295/0.8991, allocations: 116.6 kB / 0.7382 GB, free: 97.16 MB / 490.7 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.01811/0.9172, allocations: 6.115 MB / 0.7441 GB, free: 93.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.9172, allocations: 11.31 kB / 0.7442 GB, free: 93.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02059/0.9378, allocations: 5.254 MB / 0.7493 GB, free: 90.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/0.9505, allocations: 5.462 MB / 0.7546 GB, free: 87.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003794/0.9509, allocations: 408.7 kB / 0.755 GB, free: 87.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002434/0.9533, allocations: 0.5455 MB / 0.7555 GB, free: 86.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02789/0.9812, allocations: 13.95 MB / 0.7692 GB, free: 73.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003773/0.9817, allocations: 75.52 kB / 0.7692 GB, free: 73.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002218/0.9839, allocations: 267.8 kB / 0.7695 GB, free: 72.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001793/0.9857, allocations: 1.356 MB / 0.7708 GB, free: 71.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02347/1.009, allocations: 11.51 MB / 0.7821 GB, free: 59.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06154/1.071, allocations: 60.56 MB / 0.8412 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01567/1.087, allocations: 5.785 MB / 0.8468 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004458/1.091, allocations: 3.286 MB / 0.8501 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02201/1.113, allocations: 14.61 MB / 0.8643 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.353e-05/1.113, allocations: 56.56 kB / 0.8644 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 5.189e-06/1.113, allocations: 3.938 kB / 0.8644 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of matching and sorting (n=264): time 0.3154/1.429, allocations: 25.19 MB / 0.889 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/1.429, allocations: 261.4 kB / 0.8892 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007685/1.436, allocations: 4.99 MB / 0.8941 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005008/1.437, allocations: 65.92 kB / 0.8942 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002563/1.439, allocations: 3.979 MB / 0.8981 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001205/1.441, allocations: 0.9896 MB / 0.899 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006316/1.441, allocations: 150.4 kB / 0.8992 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000415/1.442, allocations: 0.6162 MB / 0.8998 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004074/1.446, allocations: 2.572 MB / 0.9023 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006004/1.452, allocations: 6.946 MB / 0.9091 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/1.463, allocations: 10.38 MB / 0.9192 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001857/1.463, allocations: 42.94 kB / 0.9192 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.0207/1.484, allocations: 9.719 MB / 0.9287 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002924/1.484, allocations: 74.31 kB / 0.9288 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003963/1.484, allocations: 152.1 kB / 0.9289 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001693/1.486, allocations: 0.5757 MB / 0.9295 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006074/1.492, allocations: 1.74 MB / 0.9312 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005699/1.498, allocations: 5.626 MB / 0.9367 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006159/1.504, allocations: 400.2 kB / 0.9371 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001428/1.506, allocations: 443.7 kB / 0.9375 GB, free: 110.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * 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 (916): * Single equations (assignments): 911 * 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.006203/1.512, allocations: 2.637 MB / 0.9401 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/1.513, allocations: 473.8 kB / 0.9405 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008092/1.521, allocations: 4.007 MB / 0.9444 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.535e-05/1.521, allocations: 27.31 kB / 0.9445 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.777e-05/1.521, allocations: 7.969 kB / 0.9445 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.249e-05/1.522, allocations: 15.48 kB / 0.9445 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02273/1.544, allocations: 10.27 MB / 0.9545 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/1.544, allocations: 0 / 0.9545 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002285/1.547, allocations: 475.2 kB / 0.955 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009992/1.548, allocations: 344.3 kB / 0.9553 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003915/1.548, allocations: 41.62 kB / 0.9553 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004589/1.553, allocations: 4.971 MB / 0.9602 GB, free: 99.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.553, allocations: 7.875 kB / 0.9602 GB, free: 99.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/1.563, allocations: 7.048 MB / 0.9671 GB, free: 96.43 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/1.565, allocations: 0.4944 MB / 0.9676 GB, free: 96.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00146/1.566, allocations: 44.31 kB / 0.9676 GB, free: 96.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002943/1.569, allocations: 154.6 kB / 0.9678 GB, free: 95.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006107/1.57, allocations: 148.8 kB / 0.9679 GB, free: 95.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003489/1.57, allocations: 67 kB / 0.968 GB, free: 95.95 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00657/1.577, allocations: 3.11 MB / 0.971 GB, free: 94.92 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.22e-07/1.577, allocations: 0 / 0.971 GB, free: 94.92 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008203/1.585, allocations: 1.296 MB / 0.9723 GB, free: 94.77 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (224): * Single equations (assignments): 219 * 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.0008432/1.586, allocations: 198.4 kB / 0.9725 GB, free: 94.62 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00993/1.596, allocations: 6.458 MB / 0.9788 GB, free: 89.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.596, allocations: 4 kB / 0.9788 GB, free: 89.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003102/1.599, allocations: 2.211 MB / 0.9809 GB, free: 87.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005908/1.605, allocations: 0.6039 MB / 0.9815 GB, free: 87.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02427/1.629, allocations: 15.06 MB / 0.9962 GB, free: 73.39 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006161/1.635, allocations: 4.103 MB / 1 GB, free: 70.26 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001605/1.637, allocations: 380.1 kB / 1.001 GB, free: 69.91 MB / 0.5261 GB Notification: Performance of SimCode: time 7.72e-07/1.637, allocations: 4 kB / 1.001 GB, free: 69.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.3917/2.029, allocations: 123 MB / 1.121 GB, free: 136.8 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches