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.001115/0.001115, allocations: 112 kB / 17.08 MB, free: 6.012 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.001169/0.001169, allocations: 200.1 kB / 18.01 MB, free: 5.094 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.413/1.413, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2052/0.2052, allocations: 43.53 MB / 314.8 MB, free: 472 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.001352/0.001353, allocations: 75.83 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.111, allocations: 57.78 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01628/0.1273, allocations: 16.62 MB / 0.5048 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.1378, allocations: 5.054 MB / 0.5097 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002905/0.1407, allocations: 111.7 kB / 0.5099 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008998/0.1497, allocations: 5.054 MB / 0.5148 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006959/0.1568, allocations: 2.672 MB / 0.5174 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.1594, allocations: 1.111 MB / 0.5185 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009559/0.169, allocations: 6.758 MB / 0.5251 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008492/0.1775, allocations: 5.907 MB / 0.5309 GB, free: 284 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2532/0.4307, allocations: 2.531 MB / 0.5333 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006853/0.4376, allocations: 3.436 MB / 0.5367 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002937/0.4406, allocations: 0.5397 MB / 0.5372 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004889/0.4455, allocations: 1.426 MB / 0.5386 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005871/0.4514, allocations: 3.177 MB / 0.5417 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009064/0.4605, allocations: 3.584 MB / 0.5452 GB, free: 8.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01788/0.4784, allocations: 11.14 MB / 0.5561 GB, free: 6.227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.4784, allocations: 1.25 kB / 0.5561 GB, free: 6.227 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4784, allocations: 0.6562 kB / 0.5561 GB, free: 6.227 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005204/0.479, allocations: 0 / 0.5561 GB, free: 6.227 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.02835/0.5073, allocations: 7.787 MB / 0.5637 GB, free: 1.922 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.5074, allocations: 17.64 kB / 0.5637 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/0.5218, allocations: 2.806 MB / 0.5664 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01241/0.5342, allocations: 4.552 MB / 0.5709 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004599/0.5348, allocations: 375.8 kB / 0.5713 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002686/0.5375, allocations: 0.492 MB / 0.5717 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03524/0.5727, allocations: 15.69 MB / 0.5871 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003695/0.5731, allocations: 74.27 kB / 0.5871 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002189/0.5753, allocations: 234.3 kB / 0.5873 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005527/0.5809, allocations: 3 MB / 0.5903 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03029/0.6112, allocations: 13.42 MB / 0.6034 GB, free: 348 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08934/0.7005, allocations: 60.82 MB / 0.6628 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02037/0.721, allocations: 7.598 MB / 0.6702 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006347/0.7273, allocations: 4.164 MB / 0.6743 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01973/0.7471, allocations: 9.84 MB / 0.6839 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.474e-05/0.7472, allocations: 64.56 kB / 0.6839 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=273): time 6.291e-06/0.7472, allocations: 0 / 0.6839 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=315): time 0.1007/0.8479, allocations: 34.35 MB / 0.7175 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.8481, allocations: 239.9 kB / 0.7177 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01413/0.8622, allocations: 6.889 MB / 0.7244 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000979/0.8632, allocations: 73.7 kB / 0.7245 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004177/0.8674, allocations: 4.635 MB / 0.729 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002052/0.8695, allocations: 1.194 MB / 0.7302 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003762/0.8733, allocations: 1.876 MB / 0.732 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.8734, allocations: 305.1 kB / 0.7323 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006301/0.8797, allocations: 3.909 MB / 0.7361 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01034/0.8901, allocations: 9.072 MB / 0.745 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2549/1.145, allocations: 13.92 MB / 0.7586 GB, free: 195.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001993/1.145, allocations: 50.25 kB / 0.7586 GB, free: 195.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.03086/1.176, allocations: 14.81 MB / 0.7731 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/1.176, allocations: 87.59 kB / 0.7732 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002112/1.176, allocations: 182.5 kB / 0.7734 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005764/1.182, allocations: 2.266 MB / 0.7756 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007721/1.19, allocations: 2.165 MB / 0.7777 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/1.205, allocations: 14.23 MB / 0.7916 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007797/1.213, allocations: 0.5386 MB / 0.7921 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001777/1.215, allocations: 0.5352 MB / 0.7926 GB, free: 184.8 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.005849/1.221, allocations: 3.153 MB / 0.7957 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/1.222, allocations: 0.5787 MB / 0.7963 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/1.234, allocations: 7.76 MB / 0.8039 GB, free: 179.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.846e-05/1.234, allocations: 34.52 kB / 0.8039 GB, free: 179.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.226e-05/1.234, allocations: 15.8 kB / 0.8039 GB, free: 179.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.628e-05/1.234, allocations: 11.44 kB / 0.8039 GB, free: 179.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02635/1.26, allocations: 16.05 MB / 0.8196 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-05/1.261, allocations: 4 kB / 0.8196 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002667/1.263, allocations: 0.5539 MB / 0.8201 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004583/1.268, allocations: 2.023 MB / 0.8221 GB, free: 162.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003996/1.268, allocations: 67.81 kB / 0.8222 GB, free: 162.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01393/1.282, allocations: 13.58 MB / 0.8354 GB, free: 148.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.282, allocations: 7.938 kB / 0.8354 GB, free: 148.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01626/1.298, allocations: 12.36 MB / 0.8475 GB, free: 136.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003056/1.302, allocations: 1.187 MB / 0.8487 GB, free: 134.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001406/1.303, allocations: 56 kB / 0.8487 GB, free: 134.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002795/1.306, allocations: 230 kB / 0.8489 GB, free: 134.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005138/1.306, allocations: 193.9 kB / 0.8491 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002347/1.307, allocations: 83.98 kB / 0.8492 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006855/1.313, allocations: 4.414 MB / 0.8535 GB, free: 129.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.91e-07/1.313, allocations: 0 / 0.8535 GB, free: 129.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008473/1.322, allocations: 1.703 MB / 0.8552 GB, free: 128.2 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.0006469/1.323, allocations: 199.9 kB / 0.8554 GB, free: 128 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01355/1.336, allocations: 9.438 MB / 0.8646 GB, free: 118.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.336, allocations: 0.5625 kB / 0.8646 GB, free: 118.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005161/1.341, allocations: 3.749 MB / 0.8683 GB, free: 114.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005081/1.346, allocations: 0.7587 MB / 0.869 GB, free: 114.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02457/1.371, allocations: 16.53 MB / 0.8851 GB, free: 97.49 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00466/1.376, allocations: 4.769 MB / 0.8898 GB, free: 92.69 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002092/1.378, allocations: 467.3 kB / 0.8902 GB, free: 92.23 MB / 0.5919 GB Notification: Performance of SimCode: time 8.42e-07/1.378, allocations: 2.188 kB / 0.8902 GB, free: 92.23 MB / 0.5919 GB Notification: Performance of Templates: time 0.3945/1.772, allocations: 152.3 MB / 1.039 GB, free: 156.9 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