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.001431/0.001439, allocations: 104.9 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2395/0.2395, allocations: 46.1 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 72.16 kB / 416.8 MB, free: 20.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1412, allocations: 62.45 MB / 479.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.3987/0.54, allocations: 72.73 MB / 0.5391 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04181/0.5818, allocations: 14.51 MB / 0.5532 GB, free: 8.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0252/0.6071, allocations: 323.8 kB / 0.5536 GB, free: 8.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009424/0.6167, allocations: 4.336 MB / 0.5578 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01274/0.6295, allocations: 2.555 MB / 0.5603 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005945/0.6355, allocations: 1.355 MB / 0.5616 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01932/0.6548, allocations: 12.07 MB / 0.5734 GB, free: 7.047 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01068/0.6656, allocations: 5.271 MB / 0.5785 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006507/0.6721, allocations: 2.398 MB / 0.5809 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00776/0.6799, allocations: 4.085 MB / 0.5849 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002787/0.6828, allocations: 388 kB / 0.5852 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005161/0.6879, allocations: 1.537 MB / 0.5867 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005709/0.6937, allocations: 3.202 MB / 0.5899 GB, free: 6.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008251/0.702, allocations: 3.475 MB / 0.5933 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.7169, allocations: 10.66 MB / 0.6037 GB, free: 7.902 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/0.717, allocations: 4 kB / 0.6037 GB, free: 7.898 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.717, allocations: 0 / 0.6037 GB, free: 7.898 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004626/0.7175, allocations: 4 kB / 0.6037 GB, free: 7.895 MB / 446.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.02411/0.7416, allocations: 8.198 MB / 0.6117 GB, free: 15.61 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.417e-05/0.7417, allocations: 8.875 kB / 0.6117 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03125/0.773, allocations: 3.677 MB / 0.6153 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01462/0.7876, allocations: 5.172 MB / 0.6203 GB, free: 6.652 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004896/0.7882, allocations: 373.8 kB / 0.6207 GB, free: 6.285 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002789/0.791, allocations: 0.5193 MB / 0.6212 GB, free: 5.766 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03752/0.8285, allocations: 16.25 MB / 0.6371 GB, free: 4.445 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003028/0.8289, allocations: 83.3 kB / 0.6371 GB, free: 4.363 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001031/0.8299, allocations: 235.8 kB / 0.6374 GB, free: 4.133 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004759/0.8347, allocations: 2.919 MB / 0.6402 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03235/0.867, allocations: 13.72 MB / 0.6536 GB, free: 3.465 MB / 494.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.09303/0.9601, allocations: 64.82 MB / 0.7169 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3083/1.268, allocations: 7.859 MB / 0.7246 GB, free: 194.1 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007908/1.276, allocations: 4.354 MB / 0.7288 GB, free: 192.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03217/1.309, allocations: 19.45 MB / 0.7478 GB, free: 182.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.861e-05/1.309, allocations: 66.75 kB / 0.7479 GB, free: 182.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=290): time 6.322e-06/1.309, allocations: 0 / 0.7479 GB, free: 182.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=372): time 0.1649/1.474, allocations: 49.81 MB / 0.7966 GB, free: 140.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.418e-05/1.474, allocations: 277.8 kB / 0.7968 GB, free: 139.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01032/1.484, allocations: 6.038 MB / 0.8027 GB, free: 133.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001037/1.485, allocations: 81.7 kB / 0.8028 GB, free: 133.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002973/1.488, allocations: 4.675 MB / 0.8074 GB, free: 129.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002079/1.49, allocations: 1.369 MB / 0.8087 GB, free: 127.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005446/1.496, allocations: 1.908 MB / 0.8106 GB, free: 125.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.917e-05/1.496, allocations: 317 kB / 0.8109 GB, free: 125.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006412/1.502, allocations: 4.231 MB / 0.815 GB, free: 121.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009674/1.512, allocations: 9.459 MB / 0.8242 GB, free: 109.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/1.528, allocations: 14.64 MB / 0.8385 GB, free: 92.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001481/1.528, allocations: 52 kB / 0.8386 GB, free: 92.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03492/1.563, allocations: 17.55 MB / 0.8557 GB, free: 74.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002198/1.563, allocations: 84 kB / 0.8558 GB, free: 74.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003132/1.563, allocations: 180.9 kB / 0.856 GB, free: 74.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01416/1.577, allocations: 4.547 MB / 0.8604 GB, free: 69.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007536/1.585, allocations: 2.125 MB / 0.8625 GB, free: 67.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02926/1.614, allocations: 23.67 MB / 0.8856 GB, free: 43.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007638/1.622, allocations: 0.5345 MB / 0.8861 GB, free: 43.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001995/1.624, allocations: 0.539 MB / 0.8867 GB, free: 42.51 MB / 0.545 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.005755/1.63, allocations: 3.112 MB / 0.8897 GB, free: 39.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/1.631, allocations: 0.567 MB / 0.8902 GB, free: 38.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02089/1.652, allocations: 10.72 MB / 0.9007 GB, free: 28.03 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.151e-05/1.652, allocations: 39.94 kB / 0.9008 GB, free: 27.99 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.327e-05/1.652, allocations: 20 kB / 0.9008 GB, free: 27.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.846e-05/1.652, allocations: 15.94 kB / 0.9008 GB, free: 27.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3261/1.978, allocations: 20.52 MB / 0.9208 GB, free: 172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-05/1.978, allocations: 7.703 kB / 0.9208 GB, free: 172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003226/1.982, allocations: 0.5357 MB / 0.9214 GB, free: 172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01583/1.998, allocations: 4.186 MB / 0.9254 GB, free: 172 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001252/1.999, allocations: 64 kB / 0.9255 GB, free: 172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02991/2.029, allocations: 21.45 MB / 0.9464 GB, free: 163.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/2.029, allocations: 3.75 kB / 0.9465 GB, free: 163.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02617/2.055, allocations: 15.65 MB / 0.9617 GB, free: 158.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/2.057, allocations: 0.5845 MB / 0.9623 GB, free: 158 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001451/2.058, allocations: 67.22 kB / 0.9624 GB, free: 158 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003337/2.061, allocations: 226 kB / 0.9626 GB, free: 157.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009762/2.062, allocations: 221.4 kB / 0.9628 GB, free: 157.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000283/2.063, allocations: 96.34 kB / 0.9629 GB, free: 157.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005305/2.068, allocations: 3.769 MB / 0.9666 GB, free: 156.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.21e-07/2.068, allocations: 3.938 kB / 0.9666 GB, free: 156.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008563/2.077, allocations: 1.909 MB / 0.9684 GB, free: 155.6 MB / 0.545 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.0007148/2.077, allocations: 201 kB / 0.9686 GB, free: 155.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01414/2.092, allocations: 10.52 MB / 0.9789 GB, free: 145 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/2.092, allocations: 0 / 0.9789 GB, free: 145 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005774/2.097, allocations: 4.127 MB / 0.9829 GB, free: 140.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004813/2.102, allocations: 0.7462 MB / 0.9837 GB, free: 140.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02776/2.13, allocations: 19.63 MB / 1.003 GB, free: 120.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005834/2.136, allocations: 4.858 MB / 1.008 GB, free: 115.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007093/2.143, allocations: 2.781 MB / 1.01 GB, free: 113.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0015/2.145, allocations: 387.3 kB / 1.011 GB, free: 112.8 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/2.145, allocations: 0 / 1.011 GB, free: 112.8 MB / 0.545 GB Notification: Performance of Templates: time 0.1154/2.26, allocations: 81.2 MB / 1.09 GB, free: 31.87 MB / 0.545 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