Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.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.Force2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2") translateModel(ModelicaTest.MultiBody.Forces.Force2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002169/0.002169, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.237/2.237, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 93.55 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2924/0.2924, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.546e-05/2.546e-05, allocations: 8 kB / 418.2 MB, free: 41.06 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4022, allocations: 58.86 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2066/0.6089, allocations: 110.9 MB / 0.5742 GB, free: 4.422 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.6092, allocations: 87.45 kB / 0.5742 GB, free: 4.34 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.234/1.843, allocations: 232.3 MB / 0.8011 GB, free: 5.668 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.124e-06/1.843, allocations: 0 / 0.8011 GB, free: 5.668 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0009355/1.844, allocations: 252 kB / 0.8014 GB, free: 5.422 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4389 * Number of variables: 4389 Notification: Performance of Generate backend data structure: time 0.05584/1.9, allocations: 12.24 MB / 0.8133 GB, free: 9.078 MB / 491.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/1.9, allocations: 16.03 kB / 0.8133 GB, free: 9.062 MB / 491.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8448/2.745, allocations: 12.79 MB / 0.8258 GB, free: 45.05 MB / 491.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05184/2.797, allocations: 13.23 MB / 0.8387 GB, free: 44.48 MB / 491.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001023/2.798, allocations: 411.3 kB / 0.8391 GB, free: 44.48 MB / 491.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007109/2.805, allocations: 0.739 MB / 0.8399 GB, free: 44.47 MB / 491.2 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04678/2.852, allocations: 17.44 MB / 0.8569 GB, free: 44.41 MB / 491.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06947/2.922, allocations: 25.8 MB / 0.8821 GB, free: 38.48 MB / 491.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009508/2.923, allocations: 146.9 kB / 0.8822 GB, free: 38.47 MB / 491.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005696/2.928, allocations: 74.67 kB / 0.8823 GB, free: 38.47 MB / 491.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006579/2.935, allocations: 2.862 MB / 0.8851 GB, free: 38.44 MB / 491.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2324/3.167, allocations: 121.2 MB / 1.003 GB, free: 14.33 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02437/3.192, allocations: 10.92 MB / 1.014 GB, free: 4.262 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02285/3.215, allocations: 7.979 MB / 1.022 GB, free: 14.02 MB / 0.5578 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002791/3.217, allocations: 1.096 MB / 1.023 GB, free: 12.89 MB / 0.5578 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/3.218, allocations: 101.5 kB / 1.023 GB, free: 12.79 MB / 0.5578 GB Notification: Performance of pre-optimization done (n=552): time 1.019e-05/3.218, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.5578 GB Notification: Performance of matching and sorting (n=640): time 0.627/3.845, allocations: 62.91 MB / 1.085 GB, free: 105.5 MB / 0.5578 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/3.845, allocations: 384.1 kB / 1.085 GB, free: 105.1 MB / 0.5578 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02021/3.865, allocations: 7.931 MB / 1.093 GB, free: 104.4 MB / 0.5578 GB Notification: Performance of collectPreVariables (initialization): time 0.002015/3.867, allocations: 29.14 kB / 1.093 GB, free: 104.4 MB / 0.5578 GB Notification: Performance of collectInitialEqns (initialization): time 0.007504/3.875, allocations: 8.248 MB / 1.101 GB, free: 99.72 MB / 0.5578 GB Notification: Performance of collectInitialBindings (initialization): time 0.004211/3.879, allocations: 2.279 MB / 1.103 GB, free: 98.34 MB / 0.5578 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00319/3.882, allocations: 3.188 kB / 1.103 GB, free: 98.34 MB / 0.5578 GB Notification: Performance of setup shared object (initialization): time 0.001832/3.884, allocations: 0.9797 MB / 1.104 GB, free: 97.99 MB / 0.5578 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01673/3.901, allocations: 6.428 MB / 1.11 GB, free: 97.95 MB / 0.5578 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02308/3.924, allocations: 14.92 MB / 1.125 GB, free: 87.05 MB / 0.5578 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02266/3.947, allocations: 9.66 MB / 1.134 GB, free: 86.54 MB / 0.5578 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004932/3.947, allocations: 90.09 kB / 1.134 GB, free: 86.54 MB / 0.5578 GB Notification: Performance of matching and sorting (n=2056) (initialization): time 0.06828/4.016, allocations: 22.31 MB / 1.156 GB, free: 80.3 MB / 0.5578 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003662/4.016, allocations: 133.6 kB / 1.156 GB, free: 80.3 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006281/4.017, allocations: 299.7 kB / 1.156 GB, free: 80.3 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01445/4.031, allocations: 3.313 MB / 1.16 GB, free: 79.69 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03324/4.064, allocations: 3.847 MB / 1.163 GB, free: 79.1 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05626/4.121, allocations: 21.25 MB / 1.184 GB, free: 60.14 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01954/4.14, allocations: 0.6415 MB / 1.185 GB, free: 59.66 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004666/4.145, allocations: 0.9029 MB / 1.186 GB, free: 58.8 MB / 0.5578 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1368 * Number of states: 0 () * Number of discrete variables: 120 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1938): * Single equations (assignments): 1931 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007274/4.152, allocations: 0.8993 MB / 1.187 GB, free: 57.9 MB / 0.5578 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003906/4.156, allocations: 0.9025 MB / 1.188 GB, free: 56.98 MB / 0.5578 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04153/4.198, allocations: 13.83 MB / 1.201 GB, free: 45.88 MB / 0.5578 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000144/4.198, allocations: 74.33 kB / 1.201 GB, free: 45.81 MB / 0.5578 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.451e-05/4.198, allocations: 16 kB / 1.201 GB, free: 45.79 MB / 0.5578 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001719/4.198, allocations: 36.06 kB / 1.201 GB, free: 45.79 MB / 0.5578 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08694/4.285, allocations: 28.85 MB / 1.229 GB, free: 22.55 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.55e-05/4.285, allocations: 15.33 kB / 1.229 GB, free: 22.54 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01285/4.298, allocations: 1.251 MB / 1.231 GB, free: 21.57 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01283/4.311, allocations: 2.794 MB / 1.233 GB, free: 19.62 MB / 0.5578 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001933/4.313, allocations: 31.52 kB / 1.233 GB, free: 19.59 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4649/4.778, allocations: 19.65 MB / 1.252 GB, free: 94.59 MB / 0.5578 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.065e-05/4.778, allocations: 12.36 kB / 1.252 GB, free: 94.59 MB / 0.5578 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06394/4.842, allocations: 23.43 MB / 1.275 GB, free: 91.6 MB / 0.5578 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008947/4.851, allocations: 1.925 MB / 1.277 GB, free: 91.51 MB / 0.5578 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004494/4.856, allocations: 19.64 kB / 1.277 GB, free: 91.51 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01156/4.867, allocations: 359.4 kB / 1.278 GB, free: 91.51 MB / 0.5578 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00288/4.87, allocations: 397.5 kB / 1.278 GB, free: 91.5 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001941/4.872, allocations: 173.5 kB / 1.278 GB, free: 91.5 MB / 0.5578 GB Notification: Performance of sorting global known variables: time 0.01505/4.887, allocations: 5.375 MB / 1.283 GB, free: 91.25 MB / 0.5578 GB Notification: Performance of sort global known variables: time 9.62e-07/4.887, allocations: 0 / 1.283 GB, free: 91.25 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.02269/4.91, allocations: 2.652 MB / 1.286 GB, free: 91.25 MB / 0.5578 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 16 (Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (553): * Single equations (assignments): 546 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002573/4.913, allocations: 191.6 kB / 1.286 GB, free: 91.16 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.04139/4.954, allocations: 16.35 MB / 1.302 GB, free: 90.59 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/4.954, allocations: 0 / 1.302 GB, free: 90.59 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 0.01985/4.974, allocations: 6.846 MB / 1.309 GB, free: 89.95 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0115/4.986, allocations: 0.9638 MB / 1.31 GB, free: 89.57 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08057/5.066, allocations: 26.26 MB / 1.335 GB, free: 80.07 MB / 0.5578 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02546/5.092, allocations: 8.805 MB / 1.344 GB, free: 77.55 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007801/5.1, allocations: 0.7633 MB / 1.345 GB, free: 77.53 MB / 0.5578 GB Notification: Performance of SimCode: time 1.272e-06/5.1, allocations: 0 / 1.345 GB, free: 77.53 MB / 0.5578 GB Notification: Performance of Templates: time 1.58/6.68, allocations: 358.4 MB / 1.695 GB, free: 139.1 MB / 0.6046 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force2/Force2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches