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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001709/0.001709, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002458/0.002458, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.283/2.283, allocations: 227.4 MB / 246.9 MB, free: 9.016 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3889/0.3889, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.00218, allocations: 79.48 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1986, allocations: 62.45 MB / 479.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.5083/0.707, allocations: 63.49 MB / 0.5307 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06131/0.7684, allocations: 12.92 MB / 0.5433 GB, free: 272 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03011/0.7986, allocations: 283.8 kB / 0.5436 GB, free: 228 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01126/0.8101, allocations: 4.006 MB / 0.5475 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01154/0.8217, allocations: 2.181 MB / 0.5496 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004723/0.8264, allocations: 1.069 MB / 0.5507 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01906/0.8456, allocations: 9.431 MB / 0.5599 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0108/0.8565, allocations: 4.621 MB / 0.5644 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006802/0.8633, allocations: 1.989 MB / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008581/0.8719, allocations: 3.221 MB / 0.5695 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002762/0.8748, allocations: 328 kB / 0.5698 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007086/0.8819, allocations: 1.478 MB / 0.5712 GB, free: 9.836 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006693/0.8887, allocations: 2.591 MB / 0.5738 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01174/0.9005, allocations: 2.881 MB / 0.5766 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0159/0.9165, allocations: 7.328 MB / 0.5837 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.9165, allocations: 0 / 0.5837 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.9166, allocations: 0 / 0.5837 GB, free: 13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004275/0.917, allocations: 0 / 0.5837 GB, free: 13 MB / 430.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.02622/0.9432, allocations: 6.745 MB / 0.5903 GB, free: 6.172 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.525e-05/0.9433, allocations: 12.03 kB / 0.5903 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0409/0.9842, allocations: 3.297 MB / 0.5935 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01237/0.9967, allocations: 4.027 MB / 0.5975 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003366/0.9971, allocations: 316.5 kB / 0.5978 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002242/0.9993, allocations: 427.6 kB / 0.5982 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04511/1.044, allocations: 13.83 MB / 0.6117 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002871/1.045, allocations: 59.44 kB / 0.6118 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001587/1.046, allocations: 195.8 kB / 0.6119 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006901/1.053, allocations: 2.527 MB / 0.6144 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04097/1.094, allocations: 11.81 MB / 0.6259 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1107/1.205, allocations: 53.72 MB / 0.6784 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01909/1.224, allocations: 5.933 MB / 0.6842 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0088/1.233, allocations: 3.6 MB / 0.6877 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04355/1.277, allocations: 15.52 MB / 0.7029 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.957e-05/1.277, allocations: 64.5 kB / 0.7029 GB, free: 15.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=230): time 8.015e-06/1.277, allocations: 0 / 0.7029 GB, free: 15.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=267): time 0.601/1.878, allocations: 28.61 MB / 0.7309 GB, free: 193.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002004/1.878, allocations: 263.3 kB / 0.7311 GB, free: 193.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01941/1.898, allocations: 5.05 MB / 0.7361 GB, free: 191.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001341/1.899, allocations: 64.17 kB / 0.7361 GB, free: 191.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005728/1.905, allocations: 3.884 MB / 0.7399 GB, free: 188.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002888/1.908, allocations: 1.001 MB / 0.7409 GB, free: 187.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005311/1.913, allocations: 1.546 MB / 0.7424 GB, free: 187.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.756e-05/1.913, allocations: 305.1 kB / 0.7427 GB, free: 186.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009311/1.923, allocations: 3.013 MB / 0.7456 GB, free: 185.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0123/1.935, allocations: 7.358 MB / 0.7528 GB, free: 179.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01842/1.954, allocations: 11.11 MB / 0.7637 GB, free: 170.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002533/1.954, allocations: 41.62 kB / 0.7637 GB, free: 170.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.03328/1.987, allocations: 11.22 MB / 0.7747 GB, free: 161.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001412/1.987, allocations: 71.94 kB / 0.7747 GB, free: 161.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002221/1.988, allocations: 152 kB / 0.7749 GB, free: 161.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004552/1.992, allocations: 1.226 MB / 0.7761 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009908/2.002, allocations: 1.833 MB / 0.7779 GB, free: 158.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01281/2.015, allocations: 7.771 MB / 0.7854 GB, free: 150.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01149/2.027, allocations: 427.4 kB / 0.7858 GB, free: 149.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002382/2.029, allocations: 456 kB / 0.7863 GB, free: 149.4 MB / 0.545 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.007808/2.037, allocations: 2.629 MB / 0.7889 GB, free: 146.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001839/2.039, allocations: 466 kB / 0.7893 GB, free: 146.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/2.051, allocations: 5.241 MB / 0.7944 GB, free: 141.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.651e-05/2.052, allocations: 30.62 kB / 0.7944 GB, free: 141 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.496e-05/2.052, allocations: 4 kB / 0.7944 GB, free: 141 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.114e-05/2.052, allocations: 15.95 kB / 0.7945 GB, free: 141 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0356/2.087, allocations: 11.75 MB / 0.8059 GB, free: 129.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.64e-05/2.087, allocations: 0 / 0.8059 GB, free: 129.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0041/2.091, allocations: 0.4954 MB / 0.8064 GB, free: 128.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004228/2.096, allocations: 1.001 MB / 0.8074 GB, free: 127.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008119/2.097, allocations: 43.98 kB / 0.8074 GB, free: 127.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/2.108, allocations: 7.108 MB / 0.8144 GB, free: 120.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/2.108, allocations: 0 / 0.8144 GB, free: 120.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01974/2.128, allocations: 8.734 MB / 0.8229 GB, free: 111.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003193/2.131, allocations: 0.4951 MB / 0.8234 GB, free: 111 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003278/2.135, allocations: 47.69 kB / 0.8234 GB, free: 111 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006955/2.142, allocations: 183.7 kB / 0.8236 GB, free: 110.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001485/2.143, allocations: 149.2 kB / 0.8238 GB, free: 110.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009372/2.144, allocations: 71.98 kB / 0.8238 GB, free: 110.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01033/2.155, allocations: 3.158 MB / 0.8269 GB, free: 107.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.885e-06/2.155, allocations: 112 / 0.8269 GB, free: 107.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01144/2.166, allocations: 1.357 MB / 0.8282 GB, free: 106.1 MB / 0.545 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.001252/2.167, allocations: 181.3 kB / 0.8284 GB, free: 105.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01335/2.181, allocations: 7.32 MB / 0.8356 GB, free: 98.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/2.181, allocations: 4 kB / 0.8356 GB, free: 98.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004854/2.186, allocations: 2.562 MB / 0.8381 GB, free: 96.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008451/2.194, allocations: 0.5619 MB / 0.8386 GB, free: 95.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03111/2.225, allocations: 16.01 MB / 0.8542 GB, free: 79.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004013/2.23, allocations: 4.085 MB / 0.8582 GB, free: 75.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001824/2.231, allocations: 379.4 kB / 0.8586 GB, free: 74.95 MB / 0.545 GB Notification: Performance of SimCode: time 9.72e-07/2.231, allocations: 4 kB / 0.8586 GB, free: 74.95 MB / 0.545 GB Notification: Performance of Templates: time 0.6113/2.843, allocations: 124.3 MB / 0.98 GB, free: 140 MB / 0.545 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches