Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001388/0.001387, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007846/0.0007848, allocations: 90.36 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003388, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2598, allocations: 47.57 MB / 375.1 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.04526/0.3051, allocations: 66.44 MB / 441.5 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0355/0.3407, allocations: 13.99 MB / 455.5 MB, free: 92 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01443/0.3552, allocations: 323.2 kB / 455.8 MB, free: 15.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01186/0.3671, allocations: 3.433 MB / 459.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02759/0.3947, allocations: 10.23 MB / 469.5 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007673/0.4024, allocations: 1.354 MB / 470.8 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.3476/0.7501, allocations: 37.38 MB / 0.4963 GB, free: 31.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01447/0.7647, allocations: 6.866 MB / 0.503 GB, free: 30.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008268/0.773, allocations: 2.257 MB / 0.5052 GB, free: 30.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01008/0.7831, allocations: 3.696 MB / 0.5088 GB, free: 30.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002657/0.7858, allocations: 246.7 kB / 0.5091 GB, free: 30.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006093/0.7919, allocations: 1.392 MB / 0.5104 GB, free: 30.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006641/0.7986, allocations: 3.004 MB / 0.5134 GB, free: 30.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009378/0.808, allocations: 3.111 MB / 0.5164 GB, free: 30.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01464/0.8227, allocations: 8.538 MB / 0.5247 GB, free: 27.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.719e-06/0.8228, allocations: 0 / 0.5247 GB, free: 27.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.8228, allocations: 0 / 0.5247 GB, free: 27.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006148/0.8234, allocations: 3.5 kB / 0.5247 GB, free: 27.31 MB / 378.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.02523/0.8486, allocations: 6.829 MB / 0.5314 GB, free: 23.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.8487, allocations: 9.656 kB / 0.5314 GB, free: 23.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02704/0.8758, allocations: 3.77 MB / 0.5351 GB, free: 20.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/0.8905, allocations: 5.485 MB / 0.5405 GB, free: 16.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003584/0.8909, allocations: 366.4 kB / 0.5408 GB, free: 16.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00264/0.8935, allocations: 0.5219 MB / 0.5413 GB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03532/0.9289, allocations: 16.26 MB / 0.5572 GB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004159/0.9294, allocations: 87.47 kB / 0.5573 GB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001669/0.931, allocations: 240 kB / 0.5575 GB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004329/0.9354, allocations: 2.926 MB / 0.5604 GB, free: 460 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03355/0.969, allocations: 13.7 MB / 0.5737 GB, free: 6.789 MB / 394.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.1023/1.071, allocations: 64.84 MB / 0.6371 GB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02379/1.095, allocations: 7.972 MB / 0.6448 GB, free: 4.781 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007521/1.103, allocations: 4.334 MB / 0.6491 GB, free: 440 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3178/1.421, allocations: 19.36 MB / 0.668 GB, free: 187 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.796e-05/1.421, allocations: 61.38 kB / 0.668 GB, free: 187 MB / 474.7 MB Notification: Performance of pre-optimization done (n=290): time 7.745e-06/1.421, allocations: 0 / 0.668 GB, free: 187 MB / 474.7 MB Notification: Performance of matching and sorting (n=372): time 0.1606/1.581, allocations: 50.57 MB / 0.7174 GB, free: 158.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.612e-05/1.582, allocations: 273.8 kB / 0.7177 GB, free: 158.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008508/1.59, allocations: 6.049 MB / 0.7236 GB, free: 152.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009776/1.591, allocations: 83.78 kB / 0.7237 GB, free: 152.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002502/1.594, allocations: 4.681 MB / 0.7282 GB, free: 147.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001791/1.595, allocations: 1.37 MB / 0.7296 GB, free: 146.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006152/1.596, allocations: 197.2 kB / 0.7298 GB, free: 146.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004269/1.596, allocations: 0.7143 MB / 0.7305 GB, free: 145.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005435/1.602, allocations: 4.188 MB / 0.7346 GB, free: 141.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007644/1.61, allocations: 9.416 MB / 0.7438 GB, free: 129.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01497/1.625, allocations: 14.59 MB / 0.758 GB, free: 112.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001669/1.625, allocations: 52 kB / 0.7581 GB, free: 112.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03576/1.661, allocations: 17.5 MB / 0.7751 GB, free: 94.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/1.661, allocations: 86.66 kB / 0.7752 GB, free: 94.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/1.661, allocations: 180 kB / 0.7754 GB, free: 94.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01368/1.675, allocations: 4.586 MB / 0.7799 GB, free: 89.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007272/1.682, allocations: 2.125 MB / 0.782 GB, free: 87.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03021/1.712, allocations: 23.74 MB / 0.8051 GB, free: 63.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008163/1.72, allocations: 0.5228 MB / 0.8057 GB, free: 63.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00164/1.722, allocations: 0.5436 MB / 0.8062 GB, free: 62.57 MB / 474.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.006002/1.728, allocations: 3.128 MB / 0.8092 GB, free: 59.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/1.729, allocations: 0.5669 MB / 0.8098 GB, free: 58.86 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02029/1.75, allocations: 10.74 MB / 0.8203 GB, free: 48.05 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.494e-05/1.75, allocations: 40 kB / 0.8203 GB, free: 48.02 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-05/1.75, allocations: 20 kB / 0.8203 GB, free: 48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.066e-05/1.75, allocations: 15.94 kB / 0.8204 GB, free: 47.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03697/1.787, allocations: 20.54 MB / 0.8404 GB, free: 27.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-05/1.787, allocations: 0 / 0.8404 GB, free: 27.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002882/1.79, allocations: 0.5461 MB / 0.8409 GB, free: 26.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2139/2.004, allocations: 4.207 MB / 0.845 GB, free: 169.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001424/2.005, allocations: 65.03 kB / 0.8451 GB, free: 169.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04673/2.052, allocations: 21.54 MB / 0.8661 GB, free: 161.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/2.052, allocations: 2.828 kB / 0.8661 GB, free: 161.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04195/2.094, allocations: 15.64 MB / 0.8814 GB, free: 156.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005249/2.099, allocations: 1.19 MB / 0.8826 GB, free: 156.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002258/2.102, allocations: 57.72 kB / 0.8826 GB, free: 156.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005469/2.107, allocations: 222.2 kB / 0.8828 GB, free: 156.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001532/2.109, allocations: 227.5 kB / 0.8831 GB, free: 156.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005897/2.109, allocations: 97.11 kB / 0.8832 GB, free: 156.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009482/2.119, allocations: 3.77 MB / 0.8868 GB, free: 154.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.693e-06/2.119, allocations: 0 / 0.8868 GB, free: 154.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01474/2.134, allocations: 1.936 MB / 0.8887 GB, free: 153.3 MB / 474.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.001335/2.135, allocations: 222.2 kB / 0.8889 GB, free: 153.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02308/2.158, allocations: 10.47 MB / 0.8992 GB, free: 143.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/2.158, allocations: 0 / 0.8992 GB, free: 143.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009043/2.167, allocations: 4.103 MB / 0.9032 GB, free: 139.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009295/2.177, allocations: 0.7471 MB / 0.9039 GB, free: 138.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04167/2.218, allocations: 19.56 MB / 0.923 GB, free: 119.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009214/2.228, allocations: 4.845 MB / 0.9277 GB, free: 114.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0026/2.23, allocations: 451.4 kB / 0.9282 GB, free: 113.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.332e-06/2.23, allocations: 3.938 kB / 0.9282 GB, free: 113.8 MB / 474.7 MB Notification: Performance of Templates: time 0.4171/2.647, allocations: 152.6 MB / 1.077 GB, free: 127.1 MB / 474.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches