Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.0016, allocations: 189 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001224/0.001224, allocations: 94.88 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3881/0.3881, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006359/0.0006362, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1242, allocations: 58.87 MB / 490.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.4393/0.5636, allocations: 62.66 MB / 0.5399 GB, free: 9.578 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04023/0.6039, allocations: 14.67 MB / 0.5543 GB, free: 3.734 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01639/0.6203, allocations: 323.2 kB / 0.5546 GB, free: 3.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01151/0.6319, allocations: 3.098 MB / 0.5576 GB, free: 1.949 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03691/0.6688, allocations: 8.927 MB / 0.5663 GB, free: 12.26 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007085/0.6759, allocations: 1.276 MB / 0.5675 GB, free: 11.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0755/0.7515, allocations: 28.1 MB / 0.595 GB, free: 1.113 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01406/0.7656, allocations: 6.351 MB / 0.6012 GB, free: 10.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004975/0.7707, allocations: 1.861 MB / 0.603 GB, free: 8.832 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006178/0.7769, allocations: 2.66 MB / 0.6056 GB, free: 6.164 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001786/0.7787, allocations: 248 kB / 0.6058 GB, free: 5.922 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004668/0.7834, allocations: 1.159 MB / 0.607 GB, free: 4.762 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005213/0.7887, allocations: 2.782 MB / 0.6097 GB, free: 1.973 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002878/0.7916, allocations: 1.318 MB / 0.611 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0155/0.8072, allocations: 8.877 MB / 0.6196 GB, free: 7.746 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8072, allocations: 0 / 0.6196 GB, free: 7.746 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.27e-06/0.8073, allocations: 4 kB / 0.6197 GB, free: 7.742 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003886/0.8077, allocations: 7.938 kB / 0.6197 GB, free: 7.734 MB / 426.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.03164/0.8393, allocations: 7.38 MB / 0.6269 GB, free: 276 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.8394, allocations: 8.031 kB / 0.6269 GB, free: 268 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3479/1.187, allocations: 15.11 MB / 0.6416 GB, free: 1.125 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02224/1.21, allocations: 6.183 MB / 0.6477 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005482/1.21, allocations: 373.5 kB / 0.648 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002649/1.213, allocations: 0.5151 MB / 0.6485 GB, free: 9.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05142/1.264, allocations: 16.35 MB / 0.6645 GB, free: 8.566 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003938/1.265, allocations: 83.2 kB / 0.6646 GB, free: 8.484 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001941/1.267, allocations: 239.8 kB / 0.6648 GB, free: 8.25 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008891/1.276, allocations: 2.923 MB / 0.6676 GB, free: 5.32 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04988/1.326, allocations: 13.69 MB / 0.681 GB, free: 7.605 MB / 490.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.4977/1.823, allocations: 64.51 MB / 0.744 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03984/1.863, allocations: 7.871 MB / 0.7517 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04639/1.91, allocations: 18.92 MB / 0.7702 GB, free: 134 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.044e-05/1.91, allocations: 70.66 kB / 0.7703 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=287): time 6.933e-06/1.91, allocations: 0 / 0.7703 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=370): time 0.3115/2.221, allocations: 51.84 MB / 0.8209 GB, free: 88.44 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/2.221, allocations: 269.8 kB / 0.8211 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01319/2.235, allocations: 6.57 MB / 0.8276 GB, free: 81.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009029/2.236, allocations: 85.7 kB / 0.8276 GB, free: 81.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003742/2.239, allocations: 4.546 MB / 0.8321 GB, free: 76.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002131/2.242, allocations: 1.362 MB / 0.8334 GB, free: 75.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/2.243, allocations: 189.6 kB / 0.8336 GB, free: 75.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006186/2.244, allocations: 0.6955 MB / 0.8343 GB, free: 74.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01013/2.254, allocations: 3.887 MB / 0.8381 GB, free: 70.78 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01361/2.267, allocations: 9.096 MB / 0.8469 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01354/2.281, allocations: 5.762 MB / 0.8526 GB, free: 53.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001683/2.281, allocations: 52 kB / 0.8526 GB, free: 53.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.05406/2.335, allocations: 16.1 MB / 0.8683 GB, free: 37.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/2.335, allocations: 84 kB / 0.8684 GB, free: 37.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002609/2.336, allocations: 180 kB / 0.8686 GB, free: 36.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02339/2.359, allocations: 4.112 MB / 0.8726 GB, free: 32.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01279/2.372, allocations: 2.063 MB / 0.8746 GB, free: 30.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05426/2.426, allocations: 22.75 MB / 0.8968 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/2.437, allocations: 0.5071 MB / 0.8973 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002028/2.439, allocations: 0.5326 MB / 0.8979 GB, free: 6.766 MB / 0.5105 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 () * 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.00862/2.448, allocations: 3.134 MB / 0.9009 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001817/2.45, allocations: 0.5785 MB / 0.9015 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04138/2.491, allocations: 9.836 MB / 0.9111 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.008e-05/2.491, allocations: 43.98 kB / 0.9111 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.363e-05/2.491, allocations: 16 kB / 0.9111 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.921e-05/2.491, allocations: 15.94 kB / 0.9112 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4206/2.912, allocations: 19.63 MB / 0.9303 GB, free: 178.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.616e-05/2.912, allocations: 0.9375 kB / 0.9303 GB, free: 178.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005452/2.917, allocations: 0.528 MB / 0.9308 GB, free: 178.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02326/2.941, allocations: 3.668 MB / 0.9344 GB, free: 177.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000933/2.942, allocations: 60.03 kB / 0.9345 GB, free: 177.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04977/2.992, allocations: 20.66 MB / 0.9547 GB, free: 168.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/2.992, allocations: 6 kB / 0.9547 GB, free: 168.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04584/3.037, allocations: 14.59 MB / 0.9689 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004647/3.042, allocations: 1.165 MB / 0.9701 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00184/3.044, allocations: 56.62 kB / 0.9701 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005888/3.05, allocations: 203.7 kB / 0.9703 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001664/3.052, allocations: 238.7 kB / 0.9705 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007159/3.052, allocations: 92.53 kB / 0.9706 GB, free: 160.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009859/3.062, allocations: 4.183 MB / 0.9747 GB, free: 156 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.11e-07/3.062, allocations: 0 / 0.9747 GB, free: 156 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01121/3.074, allocations: 1.869 MB / 0.9765 GB, free: 154.1 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 () * 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.00144/3.075, allocations: 232.3 kB / 0.9767 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02245/3.098, allocations: 9.936 MB / 0.9865 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/3.098, allocations: 5.969 kB / 0.9865 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009221/3.107, allocations: 3.937 MB / 0.9903 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005854/3.113, allocations: 0.7211 MB / 0.991 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0413/3.154, allocations: 19.35 MB / 1.01 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009419/3.164, allocations: 5.021 MB / 1.015 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002746/3.166, allocations: 455.4 kB / 1.015 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.182e-06/3.166, allocations: 4 kB / 1.015 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.6234/3.79, allocations: 147 MB / 1.159 GB, free: 151.8 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches