Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001107/0.001107, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001074/0.001074, allocations: 189.3 kB / 18.9 MB, free: 4.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 242.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2178/0.2178, allocations: 44.17 MB / 336.9 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 59.66 kB / 408.5 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1089, allocations: 60.83 MB / 469.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.3136/0.4226, allocations: 89.18 MB / 0.5455 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04682/0.4695, allocations: 17.02 MB / 0.5621 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02364/0.4932, allocations: 382.6 kB / 0.5624 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009947/0.5031, allocations: 4.854 MB / 0.5672 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008462/0.5117, allocations: 2.374 MB / 0.5695 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003329/0.515, allocations: 1.042 MB / 0.5705 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01197/0.527, allocations: 7.286 MB / 0.5776 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009284/0.5364, allocations: 6.128 MB / 0.5836 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005112/0.5415, allocations: 2.477 MB / 0.586 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005732/0.5473, allocations: 3.649 MB / 0.5896 GB, free: 9.449 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002082/0.5494, allocations: 0.5117 MB / 0.5901 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003848/0.5532, allocations: 1.424 MB / 0.5915 GB, free: 7.512 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004301/0.5576, allocations: 3.098 MB / 0.5945 GB, free: 4.406 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006022/0.5636, allocations: 3.472 MB / 0.5979 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01203/0.5757, allocations: 8.475 MB / 0.6062 GB, free: 8.422 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.5757, allocations: 0 / 0.6062 GB, free: 8.422 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5758, allocations: 4 kB / 0.6062 GB, free: 8.418 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004751/0.5762, allocations: 0 / 0.6062 GB, free: 8.418 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02123/0.5975, allocations: 7.518 MB / 0.6135 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.5976, allocations: 8.031 kB / 0.6135 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01305/0.6106, allocations: 2.776 MB / 0.6163 GB, free: 14.01 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009901/0.6206, allocations: 4.281 MB / 0.6204 GB, free: 9.648 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003731/0.621, allocations: 361.8 kB / 0.6208 GB, free: 9.293 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001945/0.6229, allocations: 491.5 kB / 0.6212 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03047/0.6534, allocations: 15.06 MB / 0.636 GB, free: 8.758 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002884/0.6537, allocations: 63.38 kB / 0.636 GB, free: 8.695 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001553/0.6553, allocations: 231.8 kB / 0.6362 GB, free: 8.469 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005321/0.6607, allocations: 2.875 MB / 0.639 GB, free: 5.59 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02708/0.6878, allocations: 12.8 MB / 0.6515 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3167/1.005, allocations: 59.09 MB / 0.7093 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0192/1.024, allocations: 7.279 MB / 0.7164 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006793/1.031, allocations: 3.886 MB / 0.7202 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02191/1.053, allocations: 9.02 MB / 0.729 GB, free: 171.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.884e-05/1.053, allocations: 63.66 kB / 0.729 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=246): time 7.554e-06/1.053, allocations: 0 / 0.729 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=288): time 0.0982/1.151, allocations: 32.86 MB / 0.7611 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.249e-05/1.151, allocations: 239.6 kB / 0.7613 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/1.162, allocations: 6.714 MB / 0.7679 GB, free: 144.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007792/1.162, allocations: 65.7 kB / 0.768 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002562/1.165, allocations: 4.465 MB / 0.7723 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001415/1.166, allocations: 1.101 MB / 0.7734 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003301/1.17, allocations: 1.792 MB / 0.7751 GB, free: 137.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.398e-05/1.17, allocations: 307.9 kB / 0.7754 GB, free: 137.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00481/1.175, allocations: 3.631 MB / 0.779 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006553/1.181, allocations: 8.657 MB / 0.7874 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/1.193, allocations: 13.21 MB / 0.8003 GB, free: 107 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001347/1.193, allocations: 48 kB / 0.8004 GB, free: 106.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02298/1.216, allocations: 14.09 MB / 0.8141 GB, free: 92.81 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/1.216, allocations: 84.2 kB / 0.8142 GB, free: 92.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001921/1.216, allocations: 183.9 kB / 0.8144 GB, free: 92.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005167/1.222, allocations: 2.263 MB / 0.8166 GB, free: 90.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006168/1.228, allocations: 2.031 MB / 0.8186 GB, free: 88.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01393/1.242, allocations: 14.24 MB / 0.8325 GB, free: 73.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006929/1.249, allocations: 0.5032 MB / 0.833 GB, free: 73.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001614/1.25, allocations: 0.5156 MB / 0.8335 GB, free: 72.73 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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 (1064): * Single equations (assignments): 1057 * 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.005158/1.255, allocations: 3.04 MB / 0.8365 GB, free: 69.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/1.257, allocations: 0.563 MB / 0.837 GB, free: 69.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/1.268, allocations: 7.228 MB / 0.8441 GB, free: 61.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.712e-05/1.268, allocations: 34.11 kB / 0.8441 GB, free: 61.83 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.694e-05/1.268, allocations: 9.75 kB / 0.8441 GB, free: 61.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.158e-05/1.268, allocations: 11.95 kB / 0.8441 GB, free: 61.81 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02663/1.294, allocations: 15.28 MB / 0.859 GB, free: 46.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.902e-05/1.295, allocations: 4 kB / 0.859 GB, free: 46.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002418/1.297, allocations: 495.7 kB / 0.8595 GB, free: 46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004742/1.302, allocations: 2.026 MB / 0.8615 GB, free: 43.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006359/1.302, allocations: 55.98 kB / 0.8615 GB, free: 43.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/1.316, allocations: 13.52 MB / 0.8747 GB, free: 30.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/1.316, allocations: 4 kB / 0.8748 GB, free: 30.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/1.331, allocations: 11.48 MB / 0.886 GB, free: 18.49 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/1.332, allocations: 0.6367 MB / 0.8866 GB, free: 17.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001646/1.334, allocations: 48 kB / 0.8866 GB, free: 17.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003283/1.337, allocations: 207.7 kB / 0.8868 GB, free: 17.58 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007685/1.338, allocations: 177.6 kB / 0.887 GB, free: 17.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003786/1.339, allocations: 79.98 kB / 0.8871 GB, free: 17.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006133/1.345, allocations: 4.293 MB / 0.8913 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.72e-07/1.345, allocations: 0 / 0.8913 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007588/1.352, allocations: 1.634 MB / 0.8929 GB, free: 11.42 MB / 0.5294 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 (232): * Single equations (assignments): 227 * 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.0006543/1.353, allocations: 192.1 kB / 0.893 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2029/1.556, allocations: 10.51 MB / 0.9033 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.556, allocations: 2.812 kB / 0.9033 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006274/1.562, allocations: 3.539 MB / 0.9068 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005574/1.568, allocations: 0.7603 MB / 0.9075 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02816/1.596, allocations: 18.69 MB / 0.9258 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005425/1.602, allocations: 4.594 MB / 0.9302 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/1.603, allocations: 451 kB / 0.9307 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/1.603, allocations: 0 / 0.9307 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.1545/1.758, allocations: 145.5 MB / 1.073 GB, free: 26.84 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches