Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.001174/0.001174, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001225/0.001225, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.35/1.35, allocations: 222.9 MB / 242.5 MB, free: 15.34 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.2172/0.2172, allocations: 44.17 MB / 336.8 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 68.31 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1097, allocations: 60.82 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3077/0.4174, allocations: 72.33 MB / 0.5288 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03263/0.4501, allocations: 14.41 MB / 0.5429 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01695/0.4671, allocations: 319.4 kB / 0.5432 GB, free: 3.492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006292/0.4735, allocations: 3.73 MB / 0.5468 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005491/0.479, allocations: 2.119 MB / 0.5489 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002379/0.4814, allocations: 0.9402 MB / 0.5498 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01067/0.4921, allocations: 8.715 MB / 0.5583 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00642/0.4986, allocations: 4.543 MB / 0.5628 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00374/0.5024, allocations: 1.771 MB / 0.5645 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004612/0.507, allocations: 2.854 MB / 0.5673 GB, free: 244 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00139/0.5084, allocations: 300 kB / 0.5676 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003735/0.5122, allocations: 1.428 MB / 0.569 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003497/0.5157, allocations: 2.404 MB / 0.5713 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006467/0.5222, allocations: 2.683 MB / 0.5739 GB, free: 9.406 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00857/0.5308, allocations: 6.985 MB / 0.5808 GB, free: 2.406 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.5309, allocations: 4 kB / 0.5808 GB, free: 2.402 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5309, allocations: 0 / 0.5808 GB, free: 2.402 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000346/0.5312, allocations: 4 kB / 0.5808 GB, free: 2.398 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01571/0.547, allocations: 6.118 MB / 0.5867 GB, free: 12.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.547, allocations: 8.031 kB / 0.5867 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/0.5592, allocations: 2.595 MB / 0.5893 GB, free: 9.594 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008497/0.5677, allocations: 3.766 MB / 0.593 GB, free: 5.773 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/0.568, allocations: 279.8 kB / 0.5932 GB, free: 5.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001423/0.5694, allocations: 387.7 kB / 0.5936 GB, free: 5.121 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02511/0.5946, allocations: 11.97 MB / 0.6053 GB, free: 8.297 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003473/0.595, allocations: 51.44 kB / 0.6053 GB, free: 8.246 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001487/0.5965, allocations: 191.8 kB / 0.6055 GB, free: 8.059 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004056/0.6006, allocations: 2.264 MB / 0.6077 GB, free: 5.793 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02085/0.6214, allocations: 9.939 MB / 0.6174 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06111/0.6826, allocations: 46.68 MB / 0.663 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/0.693, allocations: 3.921 MB / 0.6668 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003062/0.6961, allocations: 2.17 MB / 0.669 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01255/0.7086, allocations: 6.535 MB / 0.6753 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.7087, allocations: 43.56 kB / 0.6754 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 4.648e-06/0.7088, allocations: 4 kB / 0.6754 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.04834/0.7571, allocations: 16.58 MB / 0.6916 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.7573, allocations: 200.9 kB / 0.6918 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01047/0.7677, allocations: 5.668 MB / 0.6973 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004255/0.7682, allocations: 53.7 kB / 0.6974 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003298/0.7715, allocations: 3.771 MB / 0.701 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00102/0.7726, allocations: 0.6791 MB / 0.7017 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003191/0.7758, allocations: 1.427 MB / 0.7031 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.661e-05/0.7759, allocations: 309.1 kB / 0.7034 GB, free: 2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.248/1.024, allocations: 2.317 MB / 0.7057 GB, free: 189.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007779/1.032, allocations: 6.626 MB / 0.7121 GB, free: 183.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01307/1.045, allocations: 9.626 MB / 0.7215 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003485/1.045, allocations: 48.69 kB / 0.7216 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=908) (initialization): time 0.01957/1.065, allocations: 9.664 MB / 0.731 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000394/1.065, allocations: 74.69 kB / 0.7311 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004157/1.066, allocations: 155.2 kB / 0.7312 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003235/1.069, allocations: 1.21 MB / 0.7324 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004859/1.074, allocations: 1.589 MB / 0.734 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008261/1.082, allocations: 7.745 MB / 0.7415 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005564/1.088, allocations: 372.1 kB / 0.7419 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001332/1.089, allocations: 426 kB / 0.7423 GB, free: 167.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,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 (848): * Single equations (assignments): 841 * 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%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004983/1.094, allocations: 2.524 MB / 0.7448 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/1.095, allocations: 453.8 kB / 0.7452 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006417/1.102, allocations: 3.442 MB / 0.7486 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.624e-05/1.102, allocations: 18.75 kB / 0.7486 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.876e-05/1.102, allocations: 8 kB / 0.7486 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.311e-05/1.102, allocations: 7.594 kB / 0.7486 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/1.118, allocations: 8.297 MB / 0.7567 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/1.118, allocations: 4 kB / 0.7567 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/1.119, allocations: 299.8 kB / 0.757 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00252/1.122, allocations: 0.9809 MB / 0.7579 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002116/1.122, allocations: 35.81 kB / 0.758 GB, free: 155.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006835/1.129, allocations: 7.095 MB / 0.7649 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.129, allocations: 7.984 kB / 0.7649 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007681/1.137, allocations: 5.88 MB / 0.7706 GB, free: 142.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/1.138, allocations: 0.5257 MB / 0.7712 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001123/1.139, allocations: 35.94 kB / 0.7712 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/1.141, allocations: 91.88 kB / 0.7713 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003095/1.141, allocations: 92.81 kB / 0.7714 GB, free: 141.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/1.142, allocations: 47.98 kB / 0.7714 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005831/1.147, allocations: 3.616 MB / 0.7749 GB, free: 138 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/1.148, allocations: 4 kB / 0.775 GB, free: 138 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006693/1.154, allocations: 1.185 MB / 0.7761 GB, free: 136.9 MB / 0.5294 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 (126): * Single equations (assignments): 121 * 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.0006071/1.155, allocations: 162.3 kB / 0.7763 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0088/1.164, allocations: 5.585 MB / 0.7817 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.164, allocations: 0 / 0.7817 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002127/1.166, allocations: 1.617 MB / 0.7833 GB, free: 129.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004881/1.171, allocations: 0.5916 MB / 0.7839 GB, free: 128.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/1.192, allocations: 13.82 MB / 0.7974 GB, free: 115 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005127/1.198, allocations: 3.826 MB / 0.8011 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/1.199, allocations: 351.4 kB / 0.8014 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of SimCode: time 9.52e-07/1.199, allocations: 0 / 0.8014 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.3463/1.545, allocations: 114.3 MB / 0.9131 GB, free: 171.6 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches