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.0008341/0.0008346, allocations: 102.4 kB / 16.02 MB, free: 76 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.001308/0.001309, allocations: 184.2 kB / 16.92 MB, free: 6.691 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.694/1.694, allocations: 205.4 MB / 223.1 MB, free: 5.547 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.3886/0.3886, allocations: 43.58 MB / 315 MB, free: 8.996 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.0005155/0.0005155, allocations: 15.98 kB / 384.6 MB, free: 7.867 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1254, allocations: 58.87 MB / 443.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.2933/0.4188, allocations: 87.94 MB / 0.5189 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04884/0.4677, allocations: 17.14 MB / 0.5357 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0268/0.4946, allocations: 392.4 kB / 0.536 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003508/0.4981, allocations: 0.6256 MB / 0.5366 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009387/0.5075, allocations: 2.509 MB / 0.5391 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.5103, allocations: 0.9156 MB / 0.54 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01277/0.5231, allocations: 9.94 MB / 0.5497 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0118/0.5349, allocations: 8.204 MB / 0.5577 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004244/0.5392, allocations: 1.859 MB / 0.5595 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005794/0.545, allocations: 3.176 MB / 0.5626 GB, free: 5.707 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002341/0.5474, allocations: 228 kB / 0.5628 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005039/0.5524, allocations: 1.186 MB / 0.564 GB, free: 4.297 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005894/0.5584, allocations: 2.832 MB / 0.5668 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007461/0.5659, allocations: 3.169 MB / 0.5699 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01743/0.5834, allocations: 10.33 MB / 0.58 GB, free: 3.891 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.5834, allocations: 4 kB / 0.58 GB, free: 3.887 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5834, allocations: 4 kB / 0.58 GB, free: 3.883 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003976/0.5838, allocations: 0 / 0.58 GB, free: 3.883 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.01498/0.5988, allocations: 6.39 MB / 0.5862 GB, free: 13.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.5989, allocations: 12.03 kB / 0.5862 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01334/0.6122, allocations: 2.874 MB / 0.589 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/0.6227, allocations: 4.478 MB / 0.5934 GB, free: 5.953 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003522/0.6231, allocations: 378.2 kB / 0.5938 GB, free: 5.582 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001868/0.625, allocations: 0.4996 MB / 0.5942 GB, free: 5.082 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.028/0.653, allocations: 15.71 MB / 0.6096 GB, free: 4.371 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/0.6532, allocations: 67.41 kB / 0.6096 GB, free: 4.305 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006101/0.6539, allocations: 231.8 kB / 0.6099 GB, free: 4.078 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00513/0.659, allocations: 3.012 MB / 0.6128 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02614/0.6852, allocations: 13.44 MB / 0.6259 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3112/0.9964, allocations: 61.1 MB / 0.6856 GB, free: 98.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0211/1.018, allocations: 7.649 MB / 0.6931 GB, free: 96.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006772/1.024, allocations: 4.168 MB / 0.6971 GB, free: 94.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01848/1.043, allocations: 9.839 MB / 0.7068 GB, free: 89.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/1.043, allocations: 62.41 kB / 0.7068 GB, free: 89.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=273): time 6.052e-06/1.043, allocations: 0 / 0.7068 GB, free: 89.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.08093/1.124, allocations: 34.33 MB / 0.7403 GB, free: 61.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/1.124, allocations: 239.9 kB / 0.7406 GB, free: 61.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008295/1.132, allocations: 6.889 MB / 0.7473 GB, free: 54.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007909/1.133, allocations: 73.7 kB / 0.7474 GB, free: 54.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002328/1.135, allocations: 4.634 MB / 0.7519 GB, free: 49.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001023/1.137, allocations: 1.19 MB / 0.753 GB, free: 48.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008072/1.137, allocations: 0.788 MB / 0.7538 GB, free: 47.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.804e-05/1.137, allocations: 305.1 kB / 0.7541 GB, free: 47.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004609/1.142, allocations: 3.906 MB / 0.7579 GB, free: 43.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006686/1.149, allocations: 9.076 MB / 0.7668 GB, free: 31.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01318/1.162, allocations: 13.92 MB / 0.7804 GB, free: 15.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001566/1.162, allocations: 52 kB / 0.7804 GB, free: 15.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02662/1.189, allocations: 14.81 MB / 0.7949 GB, free: 496 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/1.189, allocations: 84.94 kB / 0.795 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000177/1.189, allocations: 180 kB / 0.7951 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005896/1.195, allocations: 2.268 MB / 0.7974 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007674/1.203, allocations: 2.168 MB / 0.7995 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01845/1.221, allocations: 13.31 MB / 0.8125 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009179/1.23, allocations: 0.5383 MB / 0.813 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002348/1.233, allocations: 0.5376 MB / 0.8135 GB, free: 13.12 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.007778/1.241, allocations: 3.152 MB / 0.8166 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/1.242, allocations: 0.5784 MB / 0.8172 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/1.257, allocations: 7.768 MB / 0.8248 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.997e-05/1.257, allocations: 35.94 kB / 0.8248 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.962e-05/1.257, allocations: 11.94 kB / 0.8248 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.906e-05/1.257, allocations: 11.95 kB / 0.8248 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2763/1.533, allocations: 16.26 MB / 0.8407 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.164e-05/1.533, allocations: 6.875 kB / 0.8407 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002629/1.536, allocations: 0.558 MB / 0.8412 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005249/1.541, allocations: 2.017 MB / 0.8432 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006485/1.542, allocations: 68.73 kB / 0.8433 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01668/1.559, allocations: 12.58 MB / 0.8556 GB, free: 148.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/1.559, allocations: 16.38 kB / 0.8556 GB, free: 148.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0229/1.582, allocations: 12.34 MB / 0.8676 GB, free: 144.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003996/1.586, allocations: 1.204 MB / 0.8688 GB, free: 143.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001672/1.587, allocations: 54.56 kB / 0.8689 GB, free: 143.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003074/1.59, allocations: 224.8 kB / 0.8691 GB, free: 143.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006447/1.591, allocations: 193.3 kB / 0.8693 GB, free: 143.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002477/1.591, allocations: 84.5 kB / 0.8693 GB, free: 143.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01022/1.602, allocations: 4.413 MB / 0.8736 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.31e-07/1.602, allocations: 1.312 kB / 0.8736 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009801/1.611, allocations: 1.708 MB / 0.8753 GB, free: 142 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.000638/1.612, allocations: 203.7 kB / 0.8755 GB, free: 141.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01247/1.625, allocations: 9.401 MB / 0.8847 GB, free: 138.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/1.625, allocations: 3.906 kB / 0.8847 GB, free: 138.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005695/1.63, allocations: 3.849 MB / 0.8885 GB, free: 135.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008811/1.639, allocations: 0.7184 MB / 0.8892 GB, free: 135.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02623/1.665, allocations: 19.2 MB / 0.9079 GB, free: 117.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005437/1.671, allocations: 4.8 MB / 0.9126 GB, free: 112.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007287/1.678, allocations: 2.951 MB / 0.9155 GB, free: 109.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/1.68, allocations: 406 kB / 0.9159 GB, free: 109.1 MB / 0.5137 GB Notification: Performance of SimCode: time 2.695e-06/1.68, allocations: 0 / 0.9159 GB, free: 109.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.1039/1.784, allocations: 66.97 MB / 0.9813 GB, free: 42.26 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