Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001437/0.001437, allocations: 117.7 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001814/0.001814, allocations: 199.8 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2291/0.2291, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002747/0.002747, allocations: 75.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3585, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.0205/0.3791, allocations: 17.28 MB / 0.5479 GB, free: 20 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01333/0.3925, allocations: 5.5 MB / 0.5532 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004289/0.3968, allocations: 115.6 kB / 0.5533 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008244/0.4051, allocations: 4.345 MB / 0.5576 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007349/0.4125, allocations: 2.711 MB / 0.5602 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003307/0.4158, allocations: 1.459 MB / 0.5617 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01273/0.4286, allocations: 8.65 MB / 0.5701 GB, free: 9.551 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007025/0.4356, allocations: 5.365 MB / 0.5753 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004865/0.4405, allocations: 2.652 MB / 0.5779 GB, free: 1.453 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005961/0.4465, allocations: 3.84 MB / 0.5817 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001723/0.4483, allocations: 0.5352 MB / 0.5822 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003664/0.452, allocations: 1.607 MB / 0.5838 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003704/0.4557, allocations: 3.367 MB / 0.5871 GB, free: 8.082 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005318/0.461, allocations: 3.631 MB / 0.5906 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.014/0.4751, allocations: 11.14 MB / 0.6015 GB, free: 9.246 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4751, allocations: 3.938 kB / 0.6015 GB, free: 9.242 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4751, allocations: 0 / 0.6015 GB, free: 9.242 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004083/0.4755, allocations: 0 / 0.6015 GB, free: 9.242 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02404/0.4996, allocations: 8.191 MB / 0.6095 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.4997, allocations: 12.03 kB / 0.6095 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03106/0.5307, allocations: 3.677 MB / 0.6131 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01366/0.5444, allocations: 5.289 MB / 0.6183 GB, free: 7.891 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003515/0.5448, allocations: 365.9 kB / 0.6186 GB, free: 7.531 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002334/0.5472, allocations: 0.5152 MB / 0.6191 GB, free: 7.016 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03283/0.58, allocations: 16.25 MB / 0.635 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002582/0.5803, allocations: 79.31 kB / 0.6351 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001087/0.5814, allocations: 235.8 kB / 0.6353 GB, free: 5.387 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005054/0.5865, allocations: 2.927 MB / 0.6381 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03079/0.6173, allocations: 13.73 MB / 0.6516 GB, free: 4.699 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08601/0.7033, allocations: 64.54 MB / 0.7146 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3094/1.013, allocations: 7.862 MB / 0.7223 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005076/1.018, allocations: 4.352 MB / 0.7265 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02171/1.04, allocations: 19.46 MB / 0.7455 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/1.04, allocations: 71.47 kB / 0.7456 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=290): time 4.419e-06/1.04, allocations: 2.625 kB / 0.7456 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=372): time 0.1687/1.208, allocations: 49.83 MB / 0.7942 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/1.209, allocations: 273.8 kB / 0.7945 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007191/1.216, allocations: 6.038 MB / 0.8004 GB, free: 94.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008764/1.217, allocations: 81.7 kB / 0.8005 GB, free: 94.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002333/1.219, allocations: 4.668 MB / 0.805 GB, free: 89.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001826/1.221, allocations: 1.375 MB / 0.8064 GB, free: 88.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002432/1.223, allocations: 1.908 MB / 0.8082 GB, free: 86.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.633e-05/1.223, allocations: 305.1 kB / 0.8085 GB, free: 86.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005026/1.228, allocations: 4.235 MB / 0.8127 GB, free: 81.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006842/1.235, allocations: 9.461 MB / 0.8219 GB, free: 69.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0132/1.248, allocations: 14.64 MB / 0.8362 GB, free: 52.56 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001424/1.249, allocations: 56 kB / 0.8363 GB, free: 52.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03561/1.284, allocations: 17.56 MB / 0.8534 GB, free: 34.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/1.284, allocations: 84 kB / 0.8535 GB, free: 34.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001599/1.285, allocations: 180 kB / 0.8537 GB, free: 34.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01356/1.298, allocations: 4.547 MB / 0.8581 GB, free: 30.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00693/1.305, allocations: 2.133 MB / 0.8602 GB, free: 27.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02949/1.335, allocations: 25.38 MB / 0.885 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007986/1.343, allocations: 0.5344 MB / 0.8855 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001718/1.344, allocations: 0.5363 MB / 0.886 GB, free: 1.238 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1136): * Single equations (assignments): 1131 * 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,44,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005702/1.35, allocations: 3.124 MB / 0.8891 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001234/1.351, allocations: 0.5669 MB / 0.8896 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02255/1.374, allocations: 10.71 MB / 0.9001 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-05/1.374, allocations: 36 kB / 0.9001 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.14e-05/1.374, allocations: 20 kB / 0.9001 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.28e-05/1.374, allocations: 19.92 kB / 0.9001 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04089/1.415, allocations: 20.36 MB / 0.92 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.416e-05/1.415, allocations: 3.938 kB / 0.92 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003092/1.418, allocations: 0.5422 MB / 0.9206 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0136/1.432, allocations: 4.18 MB / 0.9246 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009856/1.433, allocations: 63.98 kB / 0.9247 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0354/1.468, allocations: 23.13 MB / 0.9473 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.468, allocations: 0 / 0.9473 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2837/1.752, allocations: 15.65 MB / 0.9626 GB, free: 201.1 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001659/1.754, allocations: 0.5867 MB / 0.9631 GB, free: 201 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/1.755, allocations: 59.11 kB / 0.9632 GB, free: 200.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002961/1.758, allocations: 223.5 kB / 0.9634 GB, free: 200.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008927/1.759, allocations: 222.8 kB / 0.9636 GB, free: 200.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002676/1.759, allocations: 98.52 kB / 0.9637 GB, free: 200.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004814/1.764, allocations: 3.767 MB / 0.9674 GB, free: 199.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/1.764, allocations: 0 / 0.9674 GB, free: 199.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.007238/1.771, allocations: 1.911 MB / 0.9693 GB, free: 199.4 MB / 0.6231 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 (272): * Single equations (assignments): 267 * 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,43,100.0%), (1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006216/1.772, allocations: 208.7 kB / 0.9695 GB, free: 199.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01251/1.784, allocations: 10.54 MB / 0.9798 GB, free: 195.4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/1.784, allocations: 2.625 kB / 0.9798 GB, free: 195.4 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004868/1.789, allocations: 4.137 MB / 0.9838 GB, free: 193.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004009/1.793, allocations: 0.7821 MB / 0.9846 GB, free: 193.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02583/1.819, allocations: 16.23 MB / 1 GB, free: 179 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005669/1.825, allocations: 4.861 MB / 1.005 GB, free: 175 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005811/1.831, allocations: 2.782 MB / 1.008 GB, free: 172.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/1.832, allocations: 379.4 kB / 1.008 GB, free: 172 MB / 0.6231 GB Notification: Performance of SimCode: time 1.011e-06/1.832, allocations: 0 / 1.008 GB, free: 172 MB / 0.6231 GB Notification: Performance of Templates: time 0.1159/1.948, allocations: 80.53 MB / 1.087 GB, free: 91.93 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches