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.002092/0.002092, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001019/0.001019, allocations: 111 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3817/0.3817, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3503, allocations: 62.02 MB / 0.5152 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.05037/0.4007, allocations: 63.94 MB / 0.5776 GB, free: 8.055 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03504/0.4358, allocations: 13.12 MB / 0.5904 GB, free: 12.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0199/0.4558, allocations: 283.2 kB / 0.5907 GB, free: 12.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008869/0.4647, allocations: 3.994 MB / 0.5946 GB, free: 8.023 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007336/0.4721, allocations: 2.199 MB / 0.5967 GB, free: 5.816 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003107/0.4752, allocations: 1.065 MB / 0.5978 GB, free: 4.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01247/0.4877, allocations: 9.515 MB / 0.6071 GB, free: 11.22 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007855/0.4956, allocations: 4.613 MB / 0.6116 GB, free: 6.539 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004833/0.5005, allocations: 1.997 MB / 0.6135 GB, free: 4.535 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006313/0.5068, allocations: 3.232 MB / 0.6167 GB, free: 1.293 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002087/0.509, allocations: 324 kB / 0.617 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004035/0.513, allocations: 1.49 MB / 0.6184 GB, free: 15.48 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0039/0.5169, allocations: 2.606 MB / 0.621 GB, free: 12.87 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00543/0.5224, allocations: 2.904 MB / 0.6238 GB, free: 9.949 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.535, allocations: 9.045 MB / 0.6326 GB, free: 0.875 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.5351, allocations: 0 / 0.6326 GB, free: 0.875 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5351, allocations: 0 / 0.6326 GB, free: 0.875 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003984/0.5355, allocations: 0 / 0.6326 GB, free: 0.875 MB / 442.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.016/0.5515, allocations: 6.776 MB / 0.6393 GB, free: 10.02 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.5515, allocations: 8.031 kB / 0.6393 GB, free: 10.01 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02715/0.5787, allocations: 3.308 MB / 0.6425 GB, free: 6.688 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01101/0.5897, allocations: 4.035 MB / 0.6464 GB, free: 2.594 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003535/0.5901, allocations: 312.4 kB / 0.6467 GB, free: 2.285 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001883/0.592, allocations: 431.6 kB / 0.6471 GB, free: 1.863 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02697/0.619, allocations: 13.82 MB / 0.6606 GB, free: 3.172 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001824/0.6193, allocations: 55.44 kB / 0.6607 GB, free: 3.117 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006213/0.6199, allocations: 203.8 kB / 0.6609 GB, free: 2.918 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004118/0.624, allocations: 2.527 MB / 0.6634 GB, free: 396 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02575/0.6498, allocations: 11.8 MB / 0.6749 GB, free: 4.578 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3633/1.013, allocations: 53.72 MB / 0.7273 GB, free: 92.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0163/1.03, allocations: 5.918 MB / 0.7331 GB, free: 90.81 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004562/1.034, allocations: 3.596 MB / 0.7366 GB, free: 89.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01982/1.054, allocations: 15.44 MB / 0.7517 GB, free: 79.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/1.054, allocations: 59.91 kB / 0.7518 GB, free: 79.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=230): time 3.997e-06/1.054, allocations: 7.719 kB / 0.7518 GB, free: 79.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=267): time 0.07745/1.132, allocations: 28.59 MB / 0.7797 GB, free: 51.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/1.132, allocations: 277.2 kB / 0.78 GB, free: 51.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008213/1.14, allocations: 5.045 MB / 0.7849 GB, free: 46.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006226/1.141, allocations: 69.7 kB / 0.785 GB, free: 46.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001669/1.142, allocations: 3.882 MB / 0.7887 GB, free: 42.51 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008304/1.143, allocations: 1.001 MB / 0.7897 GB, free: 41.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001549/1.145, allocations: 1.547 MB / 0.7912 GB, free: 39.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.812e-05/1.145, allocations: 301.1 kB / 0.7915 GB, free: 39.65 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003196/1.148, allocations: 3.009 MB / 0.7945 GB, free: 36.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004635/1.153, allocations: 7.344 MB / 0.8016 GB, free: 27.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009134/1.162, allocations: 11.1 MB / 0.8125 GB, free: 13.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.598e-05/1.162, allocations: 44 kB / 0.8125 GB, free: 13.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02104/1.183, allocations: 11.2 MB / 0.8234 GB, free: 2.711 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/1.183, allocations: 68 kB / 0.8235 GB, free: 2.645 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000213/1.183, allocations: 156.8 kB / 0.8237 GB, free: 2.492 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004622/1.188, allocations: 1.228 MB / 0.8249 GB, free: 1.262 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01012/1.198, allocations: 1.829 MB / 0.8266 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01567/1.214, allocations: 7.775 MB / 0.8342 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009928/1.224, allocations: 435.3 kB / 0.8347 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002194/1.226, allocations: 452 kB / 0.8351 GB, free: 6.531 MB / 0.4948 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.007898/1.234, allocations: 2.633 MB / 0.8377 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001633/1.236, allocations: 458.1 kB / 0.8381 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01447/1.25, allocations: 5.233 MB / 0.8432 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.411e-05/1.25, allocations: 28 kB / 0.8432 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.229e-05/1.25, allocations: 8 kB / 0.8432 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.296e-05/1.25, allocations: 11.95 kB / 0.8432 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04026/1.291, allocations: 11.73 MB / 0.8547 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/1.291, allocations: 7.938 kB / 0.8547 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004381/1.295, allocations: 0.4954 MB / 0.8552 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004523/1.3, allocations: 0.9932 MB / 0.8562 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005702/1.3, allocations: 44 kB / 0.8562 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/1.313, allocations: 7.109 MB / 0.8632 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.313, allocations: 0 / 0.8632 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4135/1.726, allocations: 45.2 MB / 0.9073 GB, free: 169.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/1.727, allocations: 0.495 MB / 0.9078 GB, free: 169.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007275/1.728, allocations: 46.56 kB / 0.9078 GB, free: 169.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/1.73, allocations: 170 kB / 0.908 GB, free: 169.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004216/1.731, allocations: 156.8 kB / 0.9081 GB, free: 169.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001795/1.731, allocations: 70.56 kB / 0.9082 GB, free: 169.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004571/1.735, allocations: 3.16 MB / 0.9113 GB, free: 168.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3e-07/1.736, allocations: 3.875 kB / 0.9113 GB, free: 168.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006605/1.742, allocations: 1.805 MB / 0.9131 GB, free: 168.5 MB / 0.5417 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.000489/1.743, allocations: 186 kB / 0.9132 GB, free: 168.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01093/1.754, allocations: 7.311 MB / 0.9204 GB, free: 165.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.754, allocations: 5.156 kB / 0.9204 GB, free: 165.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00389/1.758, allocations: 2.567 MB / 0.9229 GB, free: 164.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004173/1.762, allocations: 0.5633 MB / 0.9234 GB, free: 164.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02188/1.784, allocations: 17.46 MB / 0.9405 GB, free: 155.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004323/1.788, allocations: 4.198 MB / 0.9446 GB, free: 153 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005784/1.794, allocations: 2.397 MB / 0.9469 GB, free: 151.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/1.795, allocations: 337.4 kB / 0.9472 GB, free: 151.1 MB / 0.5417 GB Notification: Performance of SimCode: time 5.71e-07/1.795, allocations: 1.531 kB / 0.9472 GB, free: 151.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.08487/1.88, allocations: 62.27 MB / 1.008 GB, free: 89.09 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@2/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