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.0009076/0.0009074, allocations: 95.7 kB / 17.35 MB, free: 6.367 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.001213/0.001213, allocations: 176.4 kB / 18.25 MB, free: 5.523 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.445/1.445, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2252/0.2252, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 8 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.139, allocations: 61.93 MB / 472.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.3861/0.5251, allocations: 87.09 MB / 0.5462 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04982/0.575, allocations: 17.06 MB / 0.5629 GB, free: 6.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02362/0.5987, allocations: 380.1 kB / 0.5632 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002743/0.6014, allocations: 0.6041 MB / 0.5638 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008185/0.6096, allocations: 2.41 MB / 0.5662 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003098/0.6128, allocations: 0.9093 MB / 0.5671 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01593/0.6287, allocations: 10.09 MB / 0.5769 GB, free: 9.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01352/0.6423, allocations: 8.118 MB / 0.5849 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004375/0.6467, allocations: 1.778 MB / 0.5866 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005037/0.6518, allocations: 3.017 MB / 0.5895 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001174/0.653, allocations: 212 kB / 0.5897 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.656, allocations: 1.182 MB / 0.5909 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003362/0.6594, allocations: 2.715 MB / 0.5935 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00373/0.6631, allocations: 3.021 MB / 0.5965 GB, free: 4.969 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.6736, allocations: 9.902 MB / 0.6062 GB, free: 11.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.6736, allocations: 0 / 0.6062 GB, free: 11.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6736, allocations: 0 / 0.6062 GB, free: 11.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002815/0.6739, allocations: 0 / 0.6062 GB, free: 11.03 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.01381/0.6877, allocations: 6.181 MB / 0.6122 GB, free: 4.766 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.6878, allocations: 8.031 kB / 0.6122 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01337/0.7011, allocations: 2.831 MB / 0.615 GB, free: 1.914 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009757/0.7109, allocations: 4.293 MB / 0.6192 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003985/0.7114, allocations: 365.8 kB / 0.6195 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001777/0.7131, allocations: 487.6 kB / 0.62 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02966/0.7428, allocations: 15.08 MB / 0.6347 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002055/0.7431, allocations: 59.47 kB / 0.6348 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007916/0.7439, allocations: 227.8 kB / 0.635 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005343/0.7492, allocations: 2.871 MB / 0.6378 GB, free: 9.465 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02671/0.7759, allocations: 12.83 MB / 0.6503 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3379/1.114, allocations: 59.14 MB / 0.7081 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02158/1.136, allocations: 7.303 MB / 0.7152 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005982/1.142, allocations: 3.895 MB / 0.719 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01502/1.157, allocations: 9.003 MB / 0.7278 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/1.157, allocations: 64.44 kB / 0.7279 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=246): time 8.045e-06/1.157, allocations: 3.375 kB / 0.7279 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=288): time 0.07622/1.233, allocations: 32.85 MB / 0.7599 GB, free: 154.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.611e-05/1.233, allocations: 242.6 kB / 0.7602 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008315/1.241, allocations: 6.71 MB / 0.7667 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006497/1.242, allocations: 66.95 kB / 0.7668 GB, free: 147.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002054/1.244, allocations: 4.47 MB / 0.7712 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001177/1.245, allocations: 1.092 MB / 0.7722 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008707/1.246, allocations: 0.7634 MB / 0.773 GB, free: 141.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.801e-05/1.246, allocations: 308.8 kB / 0.7733 GB, free: 141 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004256/1.251, allocations: 3.628 MB / 0.7768 GB, free: 137.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006497/1.257, allocations: 8.656 MB / 0.7853 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01242/1.269, allocations: 13.21 MB / 0.7982 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001612/1.27, allocations: 52 kB / 0.7982 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.025/1.295, allocations: 14.09 MB / 0.812 GB, free: 96.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003265/1.295, allocations: 80 kB / 0.812 GB, free: 96.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004868/1.296, allocations: 176 kB / 0.8122 GB, free: 96.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005711/1.301, allocations: 2.259 MB / 0.8144 GB, free: 94.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006915/1.308, allocations: 2.027 MB / 0.8164 GB, free: 92.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/1.323, allocations: 13.31 MB / 0.8294 GB, free: 78.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007083/1.33, allocations: 0.5032 MB / 0.8299 GB, free: 78.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001607/1.332, allocations: 0.5206 MB / 0.8304 GB, free: 77.64 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.00582/1.337, allocations: 3.033 MB / 0.8334 GB, free: 74.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001379/1.339, allocations: 0.5736 MB / 0.8339 GB, free: 74.01 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/1.352, allocations: 7.228 MB / 0.841 GB, free: 66.76 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.208e-05/1.352, allocations: 33.09 kB / 0.841 GB, free: 66.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.193e-05/1.352, allocations: 8 kB / 0.841 GB, free: 66.72 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.586e-05/1.352, allocations: 11.95 kB / 0.841 GB, free: 66.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03408/1.386, allocations: 15.28 MB / 0.8559 GB, free: 51.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.501e-05/1.386, allocations: 8.484 kB / 0.856 GB, free: 51.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002513/1.389, allocations: 487.2 kB / 0.8564 GB, free: 50.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005286/1.394, allocations: 2.026 MB / 0.8584 GB, free: 48.87 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007374/1.395, allocations: 50.19 kB / 0.8584 GB, free: 48.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01529/1.41, allocations: 12.58 MB / 0.8707 GB, free: 35.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/1.41, allocations: 11.94 kB / 0.8707 GB, free: 35.97 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01795/1.428, allocations: 11.47 MB / 0.8819 GB, free: 24.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/1.43, allocations: 0.6458 MB / 0.8826 GB, free: 23.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00174/1.432, allocations: 55.94 kB / 0.8826 GB, free: 23.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003785/1.435, allocations: 204.6 kB / 0.8828 GB, free: 23.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009736/1.436, allocations: 177.6 kB / 0.883 GB, free: 23.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002343/1.437, allocations: 76.61 kB / 0.8831 GB, free: 23.17 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006978/1.444, allocations: 4.297 MB / 0.8873 GB, free: 18.89 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.61e-07/1.444, allocations: 4 kB / 0.8873 GB, free: 18.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008876/1.453, allocations: 1.621 MB / 0.8888 GB, free: 17.27 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.0007771/1.453, allocations: 202 kB / 0.889 GB, free: 17.06 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01161/1.465, allocations: 8.755 MB / 0.8976 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.465, allocations: 4 kB / 0.8976 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005628/1.471, allocations: 3.533 MB / 0.901 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0103/1.481, allocations: 0.7143 MB / 0.9017 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2645/1.746, allocations: 18.24 MB / 0.9196 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01008/1.756, allocations: 4.637 MB / 0.9241 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007723/1.764, allocations: 2.804 MB / 0.9268 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001719/1.765, allocations: 384.4 kB / 0.9272 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/1.765, allocations: 0 / 0.9272 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.1015/1.867, allocations: 64.45 MB / 0.9901 GB, free: 112.4 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins/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