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.009138/0.009138, allocations: 100.1 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 195.9 kB / 16.79 MB, free: 6.238 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.668/1.668, allocations: 205.1 MB / 222.6 MB, free: 4.754 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.3867/0.3867, allocations: 43.49 MB / 313.5 MB, free: 8.25 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.001365/0.001365, allocations: 66.56 kB / 382 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1268, allocations: 57.79 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.2862/0.413, allocations: 90.04 MB / 0.5174 GB, free: 6.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04874/0.4618, allocations: 17.21 MB / 0.5342 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02412/0.486, allocations: 390 kB / 0.5346 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01071/0.4967, allocations: 5.054 MB / 0.5396 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009913/0.5068, allocations: 2.514 MB / 0.542 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003587/0.5104, allocations: 1.03 MB / 0.543 GB, free: 7.414 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01467/0.5251, allocations: 9.944 MB / 0.5527 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007844/0.533, allocations: 5.817 MB / 0.5584 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005116/0.5381, allocations: 2.25 MB / 0.5606 GB, free: 5.426 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006805/0.545, allocations: 3.684 MB / 0.5642 GB, free: 1.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001833/0.5468, allocations: 392 kB / 0.5646 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005477/0.5523, allocations: 1.342 MB / 0.5659 GB, free: 4 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004857/0.5572, allocations: 3.066 MB / 0.5689 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006721/0.5639, allocations: 3.444 MB / 0.5722 GB, free: 9.465 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01303/0.577, allocations: 10.67 MB / 0.5827 GB, free: 14.76 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/0.577, allocations: 4 kB / 0.5827 GB, free: 14.76 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.577, allocations: 0 / 0.5827 GB, free: 14.76 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004327/0.5775, allocations: 0 / 0.5827 GB, free: 14.76 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.0233/0.6008, allocations: 7.777 MB / 0.5903 GB, free: 6.895 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.6009, allocations: 8.031 kB / 0.5903 GB, free: 6.887 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/0.6148, allocations: 2.799 MB / 0.593 GB, free: 4.074 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01307/0.628, allocations: 4.484 MB / 0.5974 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000443/0.6285, allocations: 382.2 kB / 0.5977 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002856/0.6313, allocations: 499.5 kB / 0.5982 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03667/0.668, allocations: 15.71 MB / 0.6136 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003758/0.6685, allocations: 67.36 kB / 0.6136 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001982/0.6705, allocations: 239.8 kB / 0.6139 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005677/0.6762, allocations: 2.993 MB / 0.6168 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2666/0.9428, allocations: 13.42 MB / 0.6299 GB, free: 137.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07601/1.019, allocations: 61.07 MB / 0.6895 GB, free: 98.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01909/1.038, allocations: 7.614 MB / 0.697 GB, free: 96.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005795/1.044, allocations: 4.159 MB / 0.701 GB, free: 94.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01813/1.062, allocations: 9.847 MB / 0.7106 GB, free: 88.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/1.062, allocations: 67.53 kB / 0.7107 GB, free: 88.37 MB / 494.1 MB Notification: Performance of pre-optimization done (n=273): time 5.28e-06/1.062, allocations: 0 / 0.7107 GB, free: 88.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.07652/1.139, allocations: 34.32 MB / 0.7442 GB, free: 56.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.33e-05/1.139, allocations: 239.9 kB / 0.7444 GB, free: 56.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00851/1.147, allocations: 6.889 MB / 0.7512 GB, free: 49.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007811/1.148, allocations: 75.39 kB / 0.7512 GB, free: 49.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002217/1.15, allocations: 4.638 MB / 0.7558 GB, free: 45.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001215/1.152, allocations: 1.199 MB / 0.7569 GB, free: 43.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002143/1.154, allocations: 1.872 MB / 0.7588 GB, free: 42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.855e-05/1.154, allocations: 313.1 kB / 0.7591 GB, free: 41.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004578/1.158, allocations: 3.899 MB / 0.7629 GB, free: 37.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006386/1.165, allocations: 9.075 MB / 0.7717 GB, free: 26.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01242/1.177, allocations: 13.93 MB / 0.7853 GB, free: 9.703 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/1.177, allocations: 54.53 kB / 0.7854 GB, free: 9.652 MB / 494.1 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02521/1.203, allocations: 14.81 MB / 0.7999 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001519/1.203, allocations: 87.94 kB / 0.7999 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001948/1.203, allocations: 184 kB / 0.8001 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005942/1.209, allocations: 2.265 MB / 0.8023 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007904/1.217, allocations: 2.164 MB / 0.8044 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01715/1.234, allocations: 13.31 MB / 0.8174 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006818/1.241, allocations: 0.5383 MB / 0.818 GB, free: 8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/1.242, allocations: 0.5351 MB / 0.8185 GB, free: 7.465 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 (1120): * Single equations (assignments): 1113 * Array equations: 5 * 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,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004674/1.247, allocations: 3.156 MB / 0.8216 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/1.248, allocations: 0.5784 MB / 0.8221 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2359/1.483, allocations: 7.756 MB / 0.8297 GB, free: 158.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.117e-05/1.484, allocations: 31.41 kB / 0.8297 GB, free: 158.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-05/1.484, allocations: 17.19 kB / 0.8297 GB, free: 158.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.305e-05/1.484, allocations: 16.31 kB / 0.8298 GB, free: 158.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02756/1.511, allocations: 16.27 MB / 0.8456 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.849e-05/1.511, allocations: 6.5 kB / 0.8457 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/1.514, allocations: 0.5568 MB / 0.8462 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005012/1.519, allocations: 2.018 MB / 0.8482 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003824/1.519, allocations: 57.56 kB / 0.8482 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01803/1.537, allocations: 12.59 MB / 0.8605 GB, free: 147.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/1.537, allocations: 8.312 kB / 0.8605 GB, free: 147.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01902/1.556, allocations: 12.33 MB / 0.8726 GB, free: 143.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003276/1.56, allocations: 1.192 MB / 0.8737 GB, free: 142.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00147/1.561, allocations: 56.06 kB / 0.8738 GB, free: 142.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002947/1.564, allocations: 225.8 kB / 0.874 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007239/1.565, allocations: 201.1 kB / 0.8742 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002474/1.565, allocations: 83 kB / 0.8743 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006796/1.572, allocations: 4.413 MB / 0.8786 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.41e-07/1.572, allocations: 1.531 kB / 0.8786 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008511/1.58, allocations: 1.704 MB / 0.8802 GB, free: 141.2 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 (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 {(5,16,72.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008086/1.581, allocations: 203.5 kB / 0.8804 GB, free: 141 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01331/1.595, allocations: 9.395 MB / 0.8896 GB, free: 136.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.153e-05/1.595, allocations: 5.969 kB / 0.8896 GB, free: 136.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005886/1.601, allocations: 3.857 MB / 0.8934 GB, free: 132.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005089/1.606, allocations: 0.7157 MB / 0.8941 GB, free: 132.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02881/1.634, allocations: 19.05 MB / 0.9127 GB, free: 113.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008184/1.643, allocations: 4.798 MB / 0.9174 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007921/1.651, allocations: 2.953 MB / 0.9203 GB, free: 105.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002003/1.653, allocations: 403.4 kB / 0.9206 GB, free: 105.1 MB / 0.5137 GB Notification: Performance of SimCode: time 2.064e-06/1.653, allocations: 0 / 0.9206 GB, free: 105.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.1075/1.76, allocations: 68.31 MB / 0.9873 GB, free: 36.89 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.makefile (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) 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