Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 202.7 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 226.6 MB / 244.7 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008204/0.000821, allocations: 95.09 kB / 296.7 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002309/0.0002309, allocations: 8 kB / 356.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1906, allocations: 51.29 MB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.05006/0.2406, allocations: 66.4 MB / 474.4 MB, free: 9.133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0291/0.2698, allocations: 14.03 MB / 488.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01134/0.2812, allocations: 323.2 kB / 488.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01028/0.2915, allocations: 3.413 MB / 492.2 MB, free: 7.328 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02681/0.3184, allocations: 10.2 MB / 0.4906 GB, free: 13.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00536/0.3237, allocations: 1.35 MB / 0.492 GB, free: 11.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.2552/0.579, allocations: 64.77 MB / 0.5552 GB, free: 12.68 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01032/0.5893, allocations: 6.855 MB / 0.5619 GB, free: 7.738 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005324/0.5947, allocations: 2.249 MB / 0.5641 GB, free: 6.195 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005126/0.5999, allocations: 3.671 MB / 0.5677 GB, free: 3.539 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009865/0.6009, allocations: 248 kB / 0.5679 GB, free: 3.297 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.6037, allocations: 1.393 MB / 0.5693 GB, free: 2.219 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002878/0.6066, allocations: 2.984 MB / 0.5722 GB, free: 36 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003372/0.61, allocations: 3.101 MB / 0.5752 GB, free: 14.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008141/0.6182, allocations: 8.526 MB / 0.5835 GB, free: 7.488 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.6182, allocations: 0 / 0.5835 GB, free: 7.488 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6182, allocations: 0 / 0.5835 GB, free: 7.488 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002306/0.6184, allocations: 0 / 0.5835 GB, free: 7.488 MB / 410.7 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.01351/0.632, allocations: 6.842 MB / 0.5902 GB, free: 1.148 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.632, allocations: 8.031 kB / 0.5902 GB, free: 1.141 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0248/0.6568, allocations: 3.761 MB / 0.5939 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/0.6679, allocations: 5.177 MB / 0.599 GB, free: 9.566 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002768/0.6683, allocations: 368.7 kB / 0.5993 GB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001583/0.6698, allocations: 0.5161 MB / 0.5998 GB, free: 9.023 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0271/0.697, allocations: 16.26 MB / 0.6157 GB, free: 12.15 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002044/0.6972, allocations: 82.27 kB / 0.6158 GB, free: 12.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006732/0.6979, allocations: 241.5 kB / 0.616 GB, free: 12.03 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004317/0.7022, allocations: 2.924 MB / 0.6189 GB, free: 9.621 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02615/0.7284, allocations: 13.7 MB / 0.6322 GB, free: 15.96 MB / 458.7 MB 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.262/0.9904, allocations: 64.81 MB / 0.6955 GB, free: 151.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01902/1.009, allocations: 7.957 MB / 0.7033 GB, free: 150.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004389/1.014, allocations: 4.336 MB / 0.7075 GB, free: 150.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02227/1.036, allocations: 19.36 MB / 0.7264 GB, free: 139.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/1.036, allocations: 62.47 kB / 0.7265 GB, free: 139.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=290): time 5.37e-06/1.036, allocations: 3.219 kB / 0.7265 GB, free: 139.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=372): time 0.144/1.18, allocations: 50.48 MB / 0.7758 GB, free: 88.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/1.18, allocations: 273.8 kB / 0.7761 GB, free: 88.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006967/1.187, allocations: 6.021 MB / 0.7819 GB, free: 82.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007785/1.188, allocations: 81.7 kB / 0.782 GB, free: 82.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00204/1.19, allocations: 4.665 MB / 0.7866 GB, free: 77.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001316/1.192, allocations: 1.372 MB / 0.7879 GB, free: 76.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005392/1.192, allocations: 196 kB / 0.7881 GB, free: 76.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003414/1.192, allocations: 0.7073 MB / 0.7888 GB, free: 75.56 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005674/1.198, allocations: 4.192 MB / 0.7929 GB, free: 71.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007454/1.206, allocations: 9.413 MB / 0.8021 GB, free: 59.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01417/1.22, allocations: 14.59 MB / 0.8163 GB, free: 42.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001419/1.22, allocations: 52 kB / 0.8164 GB, free: 42.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03101/1.251, allocations: 17.51 MB / 0.8335 GB, free: 25.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/1.251, allocations: 80.94 kB / 0.8336 GB, free: 25.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001643/1.251, allocations: 183.2 kB / 0.8337 GB, free: 24.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.013/1.264, allocations: 4.593 MB / 0.8382 GB, free: 20.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006913/1.271, allocations: 2.129 MB / 0.8403 GB, free: 18.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2133/1.485, allocations: 23.72 MB / 0.8635 GB, free: 168.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006556/1.491, allocations: 0.5278 MB / 0.864 GB, free: 168.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/1.493, allocations: 0.5426 MB / 0.8645 GB, free: 168.3 MB / 490.7 MB 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 (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 {(2,100.0%) 44,(2,100.0%) 50} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00476/1.497, allocations: 3.126 MB / 0.8676 GB, free: 167.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009345/1.498, allocations: 0.5602 MB / 0.8681 GB, free: 167.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02016/1.518, allocations: 10.74 MB / 0.8786 GB, free: 163.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-05/1.519, allocations: 38.55 kB / 0.8786 GB, free: 163.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.819e-05/1.519, allocations: 15.19 kB / 0.8786 GB, free: 163.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-05/1.519, allocations: 22 kB / 0.8787 GB, free: 163.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03721/1.556, allocations: 20.52 MB / 0.8987 GB, free: 155.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-05/1.556, allocations: 0.875 kB / 0.8987 GB, free: 155.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002761/1.559, allocations: 0.5383 MB / 0.8992 GB, free: 154.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01257/1.571, allocations: 4.221 MB / 0.9034 GB, free: 150.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007713/1.572, allocations: 63.98 kB / 0.9034 GB, free: 150.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02676/1.599, allocations: 21.55 MB / 0.9245 GB, free: 128.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.599, allocations: 3.938 kB / 0.9245 GB, free: 128.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02592/1.625, allocations: 15.63 MB / 0.9397 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/1.627, allocations: 0.5988 MB / 0.9403 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001444/1.628, allocations: 60 kB / 0.9404 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003001/1.631, allocations: 220.7 kB / 0.9406 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007722/1.632, allocations: 230.1 kB / 0.9408 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002669/1.632, allocations: 100.4 kB / 0.9409 GB, free: 112.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005041/1.637, allocations: 3.734 MB / 0.9445 GB, free: 108.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.21e-07/1.637, allocations: 0 / 0.9445 GB, free: 108.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007554/1.645, allocations: 1.929 MB / 0.9464 GB, free: 106.7 MB / 490.7 MB 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 (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 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006972/1.646, allocations: 227.2 kB / 0.9466 GB, free: 106.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0147/1.66, allocations: 10.45 MB / 0.9568 GB, free: 96.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.66, allocations: 4 kB / 0.9568 GB, free: 96.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005373/1.666, allocations: 4.121 MB / 0.9609 GB, free: 91.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005242/1.671, allocations: 0.7409 MB / 0.9616 GB, free: 91.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02528/1.696, allocations: 19.55 MB / 0.9807 GB, free: 71.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00517/1.701, allocations: 4.833 MB / 0.9854 GB, free: 66.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001678/1.703, allocations: 447.4 kB / 0.9858 GB, free: 66.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/1.703, allocations: 0 / 0.9858 GB, free: 66.5 MB / 490.7 MB Notification: Performance of Templates: time 0.3852/2.088, allocations: 152.3 MB / 1.135 GB, free: 74 MB / 490.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches