Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 94.36 kB / 16.94 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008585/0.0008586, allocations: 184.1 kB / 17.82 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004561, allocations: 11.28 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0925/0.09297, allocations: 47.59 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.2525/0.3455, allocations: 62.64 MB / 391 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03757/0.3832, allocations: 14.66 MB / 405.6 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01538/0.3986, allocations: 322.9 kB / 405.9 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0114/0.41, allocations: 3.088 MB / 409 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03338/0.4434, allocations: 8.94 MB / 418 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005864/0.4493, allocations: 1.268 MB / 419.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.04056/0.4899, allocations: 28.12 MB / 447.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01026/0.5002, allocations: 6.349 MB / 453.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00368/0.504, allocations: 1.853 MB / 455.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004538/0.5085, allocations: 2.66 MB / 458.2 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001131/0.5097, allocations: 248 kB / 458.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003304/0.513, allocations: 1.167 MB / 459.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003156/0.5162, allocations: 2.782 MB / 462.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001991/0.5182, allocations: 1.318 MB / 463.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0109/0.5291, allocations: 8.88 MB / 472.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5291, allocations: 0 / 472.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.5291, allocations: 0 / 472.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003681/0.5295, allocations: 0 / 472.6 MB, free: 5.191 MB / 366.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.01958/0.5491, allocations: 7.384 MB / 480 MB, free: 13.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.5491, allocations: 8.031 kB / 480 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1706/0.7198, allocations: 15.11 MB / 495.1 MB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/0.7339, allocations: 6.194 MB / 0.4896 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003025/0.7343, allocations: 373.5 kB / 0.4899 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001762/0.7361, allocations: 0.5113 MB / 0.4904 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03007/0.7661, allocations: 16.34 MB / 0.5064 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002027/0.7664, allocations: 79.36 kB / 0.5064 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006441/0.767, allocations: 231.8 kB / 0.5067 GB, free: 5.719 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004564/0.7716, allocations: 2.93 MB / 0.5095 GB, free: 2.777 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02984/0.8015, allocations: 13.7 MB / 0.5229 GB, free: 5.059 MB / 430.1 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.2606/1.062, allocations: 64.5 MB / 0.5859 GB, free: 118.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02032/1.082, allocations: 7.879 MB / 0.5936 GB, free: 116.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02357/1.106, allocations: 18.93 MB / 0.6121 GB, free: 104.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/1.106, allocations: 64 kB / 0.6121 GB, free: 104.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=287): time 4.519e-06/1.106, allocations: 0 / 0.6121 GB, free: 104.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=370): time 0.1586/1.265, allocations: 51.85 MB / 0.6628 GB, free: 53.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/1.265, allocations: 277.8 kB / 0.663 GB, free: 53.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007217/1.272, allocations: 6.57 MB / 0.6694 GB, free: 46.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006868/1.273, allocations: 81.7 kB / 0.6695 GB, free: 46.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002101/1.275, allocations: 4.754 MB / 0.6742 GB, free: 42.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001233/1.276, allocations: 1.359 MB / 0.6755 GB, free: 40.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004077/1.277, allocations: 191.9 kB / 0.6757 GB, free: 40.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003183/1.277, allocations: 0.6947 MB / 0.6764 GB, free: 39.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004709/1.282, allocations: 3.883 MB / 0.6801 GB, free: 35.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006414/1.288, allocations: 9.087 MB / 0.689 GB, free: 24.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007089/1.295, allocations: 5.764 MB / 0.6947 GB, free: 18.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.914e-05/1.295, allocations: 52 kB / 0.6947 GB, free: 18.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.02986/1.325, allocations: 16.34 MB / 0.7107 GB, free: 2.031 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.594e-05/1.325, allocations: 84 kB / 0.7107 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001715/1.325, allocations: 180 kB / 0.7109 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1865/1.512, allocations: 4.105 MB / 0.7149 GB, free: 144.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007593/1.52, allocations: 2.057 MB / 0.7169 GB, free: 144.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03193/1.552, allocations: 22.74 MB / 0.7391 GB, free: 136.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007536/1.559, allocations: 0.4968 MB / 0.7396 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001193/1.56, allocations: 0.5321 MB / 0.7401 GB, free: 136.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * 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 (1088): * Single equations (assignments): 1083 * 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,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004282/1.565, allocations: 3.132 MB / 0.7432 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000889/1.565, allocations: 0.5773 MB / 0.7438 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01767/1.583, allocations: 9.838 MB / 0.7534 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-05/1.583, allocations: 40 kB / 0.7534 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.815e-05/1.583, allocations: 16 kB / 0.7534 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-05/1.583, allocations: 19.92 kB / 0.7534 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03479/1.618, allocations: 19.64 MB / 0.7726 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.165e-05/1.618, allocations: 0 / 0.7726 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002869/1.621, allocations: 0.5337 MB / 0.7731 GB, free: 109.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01137/1.633, allocations: 3.671 MB / 0.7767 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005714/1.633, allocations: 65.16 kB / 0.7768 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02403/1.657, allocations: 20.65 MB / 0.797 GB, free: 85.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.657, allocations: 0 / 0.797 GB, free: 85.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0219/1.679, allocations: 14.59 MB / 0.8112 GB, free: 70.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003227/1.682, allocations: 1.17 MB / 0.8123 GB, free: 69.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/1.684, allocations: 63.95 kB / 0.8124 GB, free: 69.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002851/1.686, allocations: 207.5 kB / 0.8126 GB, free: 69.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005877/1.687, allocations: 226.6 kB / 0.8128 GB, free: 69.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002375/1.687, allocations: 96.69 kB / 0.8129 GB, free: 69.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004885/1.692, allocations: 4.175 MB / 0.817 GB, free: 64.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.533e-06/1.692, allocations: 4 kB / 0.817 GB, free: 64.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007949/1.7, allocations: 1.875 MB / 0.8188 GB, free: 63 MB / 446.1 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 (270): * Single equations (assignments): 265 * 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.0006974/1.701, allocations: 246 kB / 0.8191 GB, free: 62.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01268/1.713, allocations: 9.941 MB / 0.8288 GB, free: 52.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.714, allocations: 0 / 0.8288 GB, free: 52.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004574/1.718, allocations: 3.932 MB / 0.8326 GB, free: 48.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003182/1.721, allocations: 0.7251 MB / 0.8333 GB, free: 48.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/1.743, allocations: 18.63 MB / 0.8515 GB, free: 29.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004203/1.747, allocations: 5.015 MB / 0.8564 GB, free: 24.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006274/1.754, allocations: 2.813 MB / 0.8592 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/1.755, allocations: 391.4 kB / 0.8595 GB, free: 21.38 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/1.755, allocations: 0 / 0.8595 GB, free: 21.38 MB / 446.1 MB Notification: Performance of Templates: time 0.277/2.032, allocations: 77.15 MB / 0.9349 GB, free: 97.57 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches