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.001543/0.001543, allocations: 117.4 kB / 17.08 MB, free: 5.992 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.001634/0.001634, allocations: 193.2 kB / 18.01 MB, free: 5.07 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.612/1.612, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2225/0.2225, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 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.001447/0.001447, allocations: 73.45 kB / 442.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1323, allocations: 57.78 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01905/0.1514, allocations: 16.63 MB / 0.5048 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01538/0.1669, allocations: 5.047 MB / 0.5098 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004261/0.1712, allocations: 107.7 kB / 0.5099 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01035/0.1815, allocations: 5.05 MB / 0.5148 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009069/0.1907, allocations: 2.672 MB / 0.5174 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.1943, allocations: 1.111 MB / 0.5185 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01433/0.2087, allocations: 6.77 MB / 0.5251 GB, free: 6.238 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01031/0.2191, allocations: 5.911 MB / 0.5309 GB, free: 256 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3474/0.5665, allocations: 2.526 MB / 0.5333 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008131/0.5746, allocations: 3.447 MB / 0.5367 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003417/0.5781, allocations: 0.5435 MB / 0.5372 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006268/0.5844, allocations: 1.426 MB / 0.5386 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007289/0.5917, allocations: 3.194 MB / 0.5417 GB, free: 9.344 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01101/0.6028, allocations: 3.583 MB / 0.5452 GB, free: 8.094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02346/0.6262, allocations: 11.14 MB / 0.5561 GB, free: 5.922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.417e-06/0.6263, allocations: 1.375 kB / 0.5561 GB, free: 5.922 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.037e-06/0.6263, allocations: 2.344 kB / 0.5561 GB, free: 5.922 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007642/0.6271, allocations: 2.484 kB / 0.5561 GB, free: 5.922 MB / 414.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.02949/0.6566, allocations: 7.784 MB / 0.5637 GB, free: 1.621 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.6567, allocations: 17.33 kB / 0.5637 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01484/0.6715, allocations: 2.809 MB / 0.5665 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01414/0.6857, allocations: 4.555 MB / 0.5709 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000698/0.6865, allocations: 374.1 kB / 0.5713 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003996/0.6905, allocations: 0.4926 MB / 0.5718 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03988/0.7304, allocations: 15.69 MB / 0.5871 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004622/0.7309, allocations: 69.98 kB / 0.5872 GB, free: 436 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002601/0.7335, allocations: 238.8 kB / 0.5874 GB, free: 252 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006228/0.7398, allocations: 2.999 MB / 0.5903 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03301/0.7728, allocations: 13.42 MB / 0.6034 GB, free: 96 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.102/0.8748, allocations: 60.81 MB / 0.6628 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02139/0.8963, allocations: 7.612 MB / 0.6702 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006289/0.9026, allocations: 4.161 MB / 0.6743 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02077/0.9234, allocations: 9.836 MB / 0.6839 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.32e-05/0.9235, allocations: 67.56 kB / 0.684 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=273): time 7.454e-06/0.9235, allocations: 0 / 0.684 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=315): time 0.1043/1.028, allocations: 34.35 MB / 0.7175 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/1.028, allocations: 239.2 kB / 0.7177 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01613/1.044, allocations: 6.893 MB / 0.7245 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001021/1.045, allocations: 69.7 kB / 0.7245 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004464/1.05, allocations: 4.634 MB / 0.7291 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002097/1.052, allocations: 1.187 MB / 0.7302 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005271/1.057, allocations: 1.886 MB / 0.7321 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.057, allocations: 309.1 kB / 0.7324 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006193/1.063, allocations: 3.902 MB / 0.7362 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009965/1.073, allocations: 9.079 MB / 0.745 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2836/1.357, allocations: 13.91 MB / 0.7586 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001722/1.357, allocations: 51.41 kB / 0.7587 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.03292/1.39, allocations: 14.81 MB / 0.7731 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/1.39, allocations: 86.84 kB / 0.7732 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002261/1.391, allocations: 178.1 kB / 0.7734 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005512/1.396, allocations: 2.266 MB / 0.7756 GB, free: 191.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007539/1.404, allocations: 2.172 MB / 0.7777 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01471/1.418, allocations: 14.23 MB / 0.7916 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00798/1.426, allocations: 0.5435 MB / 0.7922 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001694/1.428, allocations: 0.5303 MB / 0.7927 GB, free: 184.2 MB / 0.5919 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.005972/1.434, allocations: 3.156 MB / 0.7958 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/1.435, allocations: 0.5748 MB / 0.7963 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/1.447, allocations: 7.763 MB / 0.8039 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.145e-05/1.448, allocations: 40.66 kB / 0.8039 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.323e-05/1.448, allocations: 8 kB / 0.8039 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.775e-05/1.448, allocations: 11.81 kB / 0.804 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0259/1.474, allocations: 16.05 MB / 0.8196 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.769e-05/1.474, allocations: 11.88 kB / 0.8196 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002661/1.476, allocations: 0.5538 MB / 0.8202 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004831/1.481, allocations: 2.028 MB / 0.8222 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005106/1.482, allocations: 58.89 kB / 0.8222 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01505/1.497, allocations: 13.57 MB / 0.8355 GB, free: 148 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.497, allocations: 11.94 kB / 0.8355 GB, free: 148 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01651/1.513, allocations: 12.36 MB / 0.8476 GB, free: 135.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003216/1.517, allocations: 1.184 MB / 0.8487 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001461/1.518, allocations: 63.98 kB / 0.8488 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00304/1.521, allocations: 220.9 kB / 0.849 GB, free: 134.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005718/1.522, allocations: 197.9 kB / 0.8492 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002508/1.522, allocations: 81.72 kB / 0.8492 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006831/1.529, allocations: 4.414 MB / 0.8536 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/1.529, allocations: 4 kB / 0.8536 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008861/1.538, allocations: 1.699 MB / 0.8552 GB, free: 127.8 MB / 0.5919 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 {(4,17,75.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.0007758/1.538, allocations: 210 kB / 0.8554 GB, free: 127.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0137/1.552, allocations: 9.431 MB / 0.8646 GB, free: 118.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.552, allocations: 4.625 kB / 0.8646 GB, free: 118.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006247/1.558, allocations: 3.749 MB / 0.8683 GB, free: 114.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007854/1.566, allocations: 0.7554 MB / 0.869 GB, free: 113.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03461/1.601, allocations: 16.53 MB / 0.8852 GB, free: 97.03 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008389/1.609, allocations: 4.776 MB / 0.8898 GB, free: 92.22 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002741/1.612, allocations: 463.3 kB / 0.8903 GB, free: 91.77 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/1.612, allocations: 0 / 0.8903 GB, free: 91.77 MB / 0.5919 GB Notification: Performance of Templates: time 0.4223/2.035, allocations: 153.4 MB / 1.04 GB, free: 154.4 MB / 0.5919 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches