Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.MultiBody.Forces.Force,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009613/0.0009614, allocations: 97.53 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009747/0.0009748, allocations: 174 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3362/0.3362, allocations: 43.54 MB / 314.5 MB, free: 8.754 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004981/0.0004981, allocations: 12 kB / 383.9 MB, free: 8.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1143, allocations: 58.86 MB / 442.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.2337/0.348, allocations: 77.14 MB / 0.5077 GB, free: 96 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03419/0.3822, allocations: 17.25 MB / 0.5245 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01425/0.3965, allocations: 386 kB / 0.5249 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01332/0.4099, allocations: 3.878 MB / 0.5287 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03618/0.4461, allocations: 11 MB / 0.5394 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004581/0.4507, allocations: 0.883 MB / 0.5403 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03958/0.4903, allocations: 27.37 MB / 0.567 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01026/0.5006, allocations: 7.363 MB / 0.5742 GB, free: 9.203 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00272/0.5033, allocations: 1.62 MB / 0.5758 GB, free: 7.578 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002712/0.506, allocations: 2.184 MB / 0.5779 GB, free: 5.387 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006163/0.5067, allocations: 228 kB / 0.5782 GB, free: 5.164 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.5085, allocations: 0.9832 MB / 0.5791 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00205/0.5105, allocations: 2.576 MB / 0.5816 GB, free: 1.598 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.5117, allocations: 1.31 MB / 0.5829 GB, free: 284 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008296/0.52, allocations: 8.701 MB / 0.5914 GB, free: 7.555 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.52, allocations: 0 / 0.5914 GB, free: 7.555 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.52, allocations: 0 / 0.5914 GB, free: 7.555 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003576/0.5204, allocations: 0 / 0.5914 GB, free: 7.555 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.01664/0.537, allocations: 6.893 MB / 0.5981 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.5371, allocations: 8.031 kB / 0.5982 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04356/0.5807, allocations: 8.252 MB / 0.6062 GB, free: 8.297 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/0.5913, allocations: 4.761 MB / 0.6109 GB, free: 3.457 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003121/0.5916, allocations: 373.6 kB / 0.6112 GB, free: 3.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001539/0.5932, allocations: 0.5034 MB / 0.6117 GB, free: 2.586 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02681/0.62, allocations: 15.74 MB / 0.6271 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001727/0.6202, allocations: 71.36 kB / 0.6271 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000621/0.6208, allocations: 235.8 kB / 0.6274 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1794/0.8003, allocations: 3.003 MB / 0.6303 GB, free: 139.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02327/0.8236, allocations: 13.37 MB / 0.6434 GB, free: 137.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06773/0.8913, allocations: 60.86 MB / 0.7028 GB, free: 97.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01706/0.9085, allocations: 7.716 MB / 0.7103 GB, free: 92.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01378/0.9223, allocations: 9.706 MB / 0.7198 GB, free: 83.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.9223, allocations: 62.53 kB / 0.7199 GB, free: 82.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=273): time 4.85e-06/0.9224, allocations: 0 / 0.7199 GB, free: 82.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.07243/0.9948, allocations: 33.98 MB / 0.7531 GB, free: 48.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.9949, allocations: 235.9 kB / 0.7533 GB, free: 48.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007654/1.003, allocations: 7.124 MB / 0.7602 GB, free: 41.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008012/1.003, allocations: 76.67 kB / 0.7603 GB, free: 41.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002236/1.006, allocations: 4.68 MB / 0.7649 GB, free: 36.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001263/1.007, allocations: 1.182 MB / 0.766 GB, free: 35.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004468/1.007, allocations: 176 kB / 0.7662 GB, free: 35.13 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003645/1.008, allocations: 0.6899 MB / 0.7669 GB, free: 34.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004409/1.012, allocations: 3.652 MB / 0.7704 GB, free: 30.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006472/1.019, allocations: 8.776 MB / 0.779 GB, free: 19.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006716/1.025, allocations: 5.539 MB / 0.7844 GB, free: 13.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-05/1.025, allocations: 52 kB / 0.7845 GB, free: 13.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.02084/1.046, allocations: 13.76 MB / 0.7979 GB, free: 88 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.948e-05/1.046, allocations: 80 kB / 0.798 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001973/1.047, allocations: 180 kB / 0.7982 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004164/1.051, allocations: 1.801 MB / 0.7999 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007437/1.058, allocations: 2.101 MB / 0.802 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01547/1.074, allocations: 12.2 MB / 0.8139 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007434/1.081, allocations: 0.5218 MB / 0.8144 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001612/1.083, allocations: 0.5234 MB / 0.8149 GB, free: 14.41 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 63 (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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1082): * Single equations (assignments): 1075 * Array equations: 5 * 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%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006274/1.089, allocations: 3.156 MB / 0.818 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/1.091, allocations: 0.5822 MB / 0.8186 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/1.102, allocations: 7.012 MB / 0.8254 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.604e-05/1.102, allocations: 32 kB / 0.8254 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-05/1.102, allocations: 8 kB / 0.8254 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.011e-05/1.102, allocations: 27.88 kB / 0.8255 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.229/1.332, allocations: 15.53 MB / 0.8406 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/1.332, allocations: 9.812 kB / 0.8406 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00247/1.334, allocations: 0.5547 MB / 0.8412 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003311/1.337, allocations: 1.511 MB / 0.8427 GB, free: 154 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002948/1.338, allocations: 65.19 kB / 0.8427 GB, free: 154 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/1.35, allocations: 11.38 MB / 0.8538 GB, free: 148.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/1.35, allocations: 5.594 kB / 0.8538 GB, free: 148.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01876/1.369, allocations: 12.25 MB / 0.8658 GB, free: 142.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004372/1.373, allocations: 1.182 MB / 0.867 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001793/1.375, allocations: 63.64 kB / 0.867 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002795/1.378, allocations: 211.6 kB / 0.8672 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005528/1.378, allocations: 190.6 kB / 0.8674 GB, free: 142.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002181/1.379, allocations: 87.06 kB / 0.8675 GB, free: 142.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007556/1.386, allocations: 4.595 MB / 0.872 GB, free: 140.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.91e-07/1.386, allocations: 0 / 0.872 GB, free: 140.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008554/1.395, allocations: 1.674 MB / 0.8736 GB, free: 140.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (260): * Single equations (assignments): 255 * 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 {(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.0006942/1.396, allocations: 224.5 kB / 0.8738 GB, free: 140.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01272/1.408, allocations: 8.928 MB / 0.8825 GB, free: 137.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.408, allocations: 0 / 0.8825 GB, free: 137.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004921/1.413, allocations: 3.568 MB / 0.886 GB, free: 136 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003316/1.417, allocations: 0.7022 MB / 0.8867 GB, free: 135.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02259/1.439, allocations: 18.07 MB / 0.9044 GB, free: 121.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005096/1.444, allocations: 4.935 MB / 0.9092 GB, free: 117.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006491/1.451, allocations: 2.963 MB / 0.9121 GB, free: 115.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/1.452, allocations: 415.3 kB / 0.9125 GB, free: 114.8 MB / 0.5137 GB Notification: Performance of SimCode: time 8.42e-07/1.452, allocations: 3.828 kB / 0.9125 GB, free: 114.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.08966/1.542, allocations: 64.68 MB / 0.9756 GB, free: 50.24 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force/Force.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches