Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 102.3 kB / 16.4 MB, free: 5.977 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.001512/0.001512, allocations: 194.6 kB / 17.34 MB, free: 5.594 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.405/1.405, allocations: 205.1 MB / 223.2 MB, free: 12.11 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.2166/0.2166, allocations: 43.52 MB / 314.1 MB, free: 444 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.00147/0.001471, allocations: 63.91 kB / 441.8 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1495, allocations: 57.78 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.02495/0.1745, allocations: 13.74 MB / 0.5013 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01682/0.1914, allocations: 4.599 MB / 0.5058 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004947/0.1964, allocations: 87.75 kB / 0.5059 GB, free: 9.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01078/0.2072, allocations: 3.765 MB / 0.5096 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01078/0.2181, allocations: 2.369 MB / 0.5119 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00404/0.2222, allocations: 1.002 MB / 0.5129 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01311/0.2354, allocations: 5.906 MB / 0.5186 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009642/0.245, allocations: 4.69 MB / 0.5232 GB, free: 7.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006145/0.2512, allocations: 2.083 MB / 0.5253 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006817/0.2581, allocations: 2.827 MB / 0.528 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002609/0.2607, allocations: 444 kB / 0.5284 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005405/0.2662, allocations: 1.475 MB / 0.5299 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3527/0.6189, allocations: 2.629 MB / 0.5324 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005439/0.6244, allocations: 2.943 MB / 0.5353 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01653/0.641, allocations: 9.369 MB / 0.5445 GB, free: 10.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.641, allocations: 0 / 0.5445 GB, free: 10.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.641, allocations: 1.25 kB / 0.5445 GB, free: 10.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003459/0.6414, allocations: 0 / 0.5445 GB, free: 10.3 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02224/0.6636, allocations: 6.385 MB / 0.5507 GB, free: 7.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.6637, allocations: 13.08 kB / 0.5507 GB, free: 7.816 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01351/0.6772, allocations: 2.641 MB / 0.5533 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01429/0.6915, allocations: 4.024 MB / 0.5572 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003135/0.6919, allocations: 299.8 kB / 0.5575 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001643/0.6935, allocations: 400 kB / 0.5579 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02545/0.719, allocations: 12.62 MB / 0.5702 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001799/0.7192, allocations: 62.67 kB / 0.5703 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005613/0.7198, allocations: 187.9 kB / 0.5705 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004049/0.7238, allocations: 2.402 MB / 0.5728 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02573/0.7496, allocations: 10.54 MB / 0.5831 GB, free: 6.738 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07589/0.8255, allocations: 48.59 MB / 0.6305 GB, free: 5.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/0.8382, allocations: 4.799 MB / 0.6352 GB, free: 0.582 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004013/0.8423, allocations: 2.436 MB / 0.6376 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01556/0.8579, allocations: 7.169 MB / 0.6446 GB, free: 6.922 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.357e-05/0.858, allocations: 59.19 kB / 0.6447 GB, free: 6.859 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 6.382e-06/0.858, allocations: 0 / 0.6447 GB, free: 6.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.05167/0.9097, allocations: 17.99 MB / 0.6622 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.9099, allocations: 197.2 kB / 0.6624 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01032/0.9202, allocations: 5.839 MB / 0.6681 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008813/0.9211, allocations: 57.61 kB / 0.6682 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00369/0.9248, allocations: 3.947 MB / 0.672 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001459/0.9263, allocations: 0.7668 MB / 0.6728 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002375/0.9287, allocations: 1.503 MB / 0.6743 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.9288, allocations: 305.1 kB / 0.6746 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004207/0.933, allocations: 2.599 MB / 0.6771 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007691/0.9407, allocations: 7.046 MB / 0.684 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01276/0.9535, allocations: 10.33 MB / 0.6941 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001185/0.9536, allocations: 51.98 kB / 0.6941 GB, free: 460 kB / 0.5294 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02194/0.9756, allocations: 10.4 MB / 0.7043 GB, free: 6.238 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.9758, allocations: 76.25 kB / 0.7043 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003181/0.9761, allocations: 156 kB / 0.7045 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003649/0.9798, allocations: 1.227 MB / 0.7057 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006625/0.9864, allocations: 1.7 MB / 0.7073 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.998, allocations: 8.341 MB / 0.7155 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009218/1.007, allocations: 411.4 kB / 0.7159 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002581/1.01, allocations: 448 kB / 0.7163 GB, free: 9.613 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (904): * Single equations (assignments): 897 * 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 {(1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01087/1.021, allocations: 2.638 MB / 0.7189 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001936/1.023, allocations: 477.7 kB / 0.7193 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/1.033, allocations: 3.97 MB / 0.7232 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.55e-05/1.033, allocations: 20 kB / 0.7232 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.065e-05/1.033, allocations: 7.656 kB / 0.7232 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.42e-05/1.033, allocations: 19.95 kB / 0.7233 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02923/1.063, allocations: 9.268 MB / 0.7323 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.636e-05/1.063, allocations: 0 / 0.7323 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001985/1.065, allocations: 363.4 kB / 0.7327 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003017/1.068, allocations: 0.9911 MB / 0.7336 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003142/1.068, allocations: 35.94 kB / 0.7337 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009981/1.078, allocations: 7.674 MB / 0.7412 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.078, allocations: 4 kB / 0.7412 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/1.09, allocations: 6.742 MB / 0.7477 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003332/1.093, allocations: 0.8345 MB / 0.7486 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00201/1.095, allocations: 36 kB / 0.7486 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003168/1.099, allocations: 115.8 kB / 0.7487 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004244/1.099, allocations: 113 kB / 0.7488 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/1.099, allocations: 54.73 kB / 0.7489 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01159/1.111, allocations: 3.733 MB / 0.7525 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.6e-07/1.111, allocations: 4 kB / 0.7525 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01148/1.122, allocations: 1.266 MB / 0.7538 GB, free: 2.836 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/1.124, allocations: 168.9 kB / 0.7539 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.3433/1.467, allocations: 6.233 MB / 0.76 GB, free: 211 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/1.467, allocations: 1.281 kB / 0.76 GB, free: 211 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003291/1.47, allocations: 1.879 MB / 0.7618 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00461/1.475, allocations: 0.6354 MB / 0.7625 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02725/1.502, allocations: 11.76 MB / 0.7739 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00573/1.508, allocations: 4.019 MB / 0.7779 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006251/1.514, allocations: 2.28 MB / 0.7801 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/1.515, allocations: 315.6 kB / 0.7804 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of SimCode: time 9.12e-07/1.515, allocations: 2.125 kB / 0.7804 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.08309/1.598, allocations: 44.67 MB / 0.824 GB, free: 165.9 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches