Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009646/0.0009645, allocations: 180.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 221.4 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00078/0.0007801, allocations: 95.62 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1631/0.1631, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.227e-05/2.233e-05, allocations: 4.219 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09921/0.09924, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3364/0.4357, allocations: 114.6 MB / 0.6137 GB, free: 6.637 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.4361, allocations: 83.89 kB / 0.6137 GB, free: 6.555 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5912/1.027, allocations: 137.9 MB / 0.7484 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.274e-06/1.027, allocations: 0 / 0.7484 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000399/1.028, allocations: 133.4 kB / 0.7486 GB, free: 113.8 MB / 0.5105 GB 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.02044/1.048, allocations: 7.037 MB / 0.7554 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/1.048, allocations: 7.594 kB / 0.7555 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02943/1.078, allocations: 7.562 MB / 0.7628 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02089/1.099, allocations: 9.199 MB / 0.7718 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000494/1.099, allocations: 494.4 kB / 0.7723 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003251/1.102, allocations: 0.6541 MB / 0.7729 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03211/1.135, allocations: 16.57 MB / 0.7891 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002548/1.135, allocations: 105.4 kB / 0.7892 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009032/1.136, allocations: 317.9 kB / 0.7895 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00171/1.137, allocations: 1.585 MB / 0.7911 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02155/1.159, allocations: 13.51 MB / 0.8043 GB, free: 95.27 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06402/1.223, allocations: 74.31 MB / 0.8768 GB, free: 22.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01912/1.242, allocations: 7.706 MB / 0.8844 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005133/1.247, allocations: 3.978 MB / 0.8882 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02346/1.271, allocations: 18.64 MB / 0.9064 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/1.271, allocations: 60.56 kB / 0.9065 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=287): time 5.16e-06/1.271, allocations: 8 kB / 0.9065 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of matching and sorting (n=370): time 0.3897/1.661, allocations: 38.73 MB / 0.9443 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/1.661, allocations: 272.9 kB / 0.9446 GB, free: 117 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007743/1.669, allocations: 5.264 MB / 0.9497 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008675/1.669, allocations: 82.27 kB / 0.9498 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002789/1.672, allocations: 4.756 MB / 0.9545 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001676/1.674, allocations: 1.365 MB / 0.9558 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000479/1.674, allocations: 184 kB / 0.956 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003814/1.675, allocations: 0.6924 MB / 0.9566 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005116/1.68, allocations: 3.674 MB / 0.9602 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007515/1.688, allocations: 8.869 MB / 0.9689 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007734/1.695, allocations: 5.591 MB / 0.9743 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001753/1.695, allocations: 51.81 kB / 0.9744 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03082/1.726, allocations: 15.87 MB / 0.9899 GB, free: 97.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/1.726, allocations: 85.66 kB / 0.99 GB, free: 97.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002221/1.727, allocations: 180 kB / 0.9901 GB, free: 97.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01152/1.738, allocations: 4.013 MB / 0.9941 GB, free: 97.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006742/1.745, allocations: 2.051 MB / 0.9961 GB, free: 97.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02693/1.772, allocations: 20.78 MB / 1.016 GB, free: 83.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008053/1.78, allocations: 0.5502 MB / 1.017 GB, free: 83.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001709/1.782, allocations: 0.524 MB / 1.017 GB, free: 82.86 MB / 0.5261 GB 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 () * 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.001564/1.783, allocations: 0.8123 MB / 1.018 GB, free: 82.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/1.785, allocations: 0.5722 MB / 1.019 GB, free: 81.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01817/1.803, allocations: 9.443 MB / 1.028 GB, free: 74.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.807e-05/1.803, allocations: 41.47 kB / 1.028 GB, free: 74.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.662e-05/1.803, allocations: 16 kB / 1.028 GB, free: 74.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.556e-05/1.803, allocations: 26 kB / 1.028 GB, free: 74.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03397/1.837, allocations: 18.93 MB / 1.047 GB, free: 59.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.921e-05/1.837, allocations: 4 kB / 1.047 GB, free: 59.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002623/1.84, allocations: 0.5054 MB / 1.047 GB, free: 58.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0104/1.85, allocations: 3.563 MB / 1.051 GB, free: 56.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000624/1.851, allocations: 67.7 kB / 1.051 GB, free: 56.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02349/1.874, allocations: 18.72 MB / 1.069 GB, free: 37.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.874, allocations: 0 / 1.069 GB, free: 37.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02305/1.897, allocations: 13.95 MB / 1.083 GB, free: 23.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/1.899, allocations: 0.5834 MB / 1.083 GB, free: 22.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001324/1.9, allocations: 57.33 kB / 1.083 GB, free: 22.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003116/1.904, allocations: 219.7 kB / 1.083 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007/1.904, allocations: 222.2 kB / 1.084 GB, free: 22.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002588/1.905, allocations: 92.69 kB / 1.084 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006346/1.911, allocations: 3.677 MB / 1.087 GB, free: 18.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.91e-07/1.911, allocations: 0 / 1.087 GB, free: 18.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01018/1.921, allocations: 1.845 MB / 1.089 GB, free: 16.84 MB / 0.5261 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 () * 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.0009399/1.922, allocations: 236.2 kB / 1.089 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01408/1.936, allocations: 9.485 MB / 1.099 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.936, allocations: 3.938 kB / 1.099 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005025/1.941, allocations: 3.73 MB / 1.102 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003751/1.945, allocations: 0.7157 MB / 1.103 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3159/2.261, allocations: 13.12 MB / 1.116 GB, free: 117.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007598/2.269, allocations: 5.01 MB / 1.121 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008207/2.277, allocations: 2.81 MB / 1.123 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001352/2.278, allocations: 377.6 kB / 1.124 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of SimCode: time 9.22e-07/2.278, allocations: 0 / 1.124 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.122/2.4, allocations: 74.46 MB / 1.196 GB, free: 104.4 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches