Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001498/0.001504, allocations: 118.2 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00193/0.00193, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.432/2.432, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3849/0.3849, allocations: 46.09 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002979/0.002979, allocations: 79.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.4846, allocations: 62.42 MB / 0.5317 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.02032/0.5049, allocations: 12.66 MB / 0.544 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01343/0.5184, allocations: 4.5 MB / 0.5484 GB, free: 372 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003545/0.522, allocations: 86.81 kB / 0.5485 GB, free: 356 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009747/0.5318, allocations: 3.709 MB / 0.5521 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008509/0.5404, allocations: 2.234 MB / 0.5543 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003515/0.5439, allocations: 0.9982 MB / 0.5553 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01245/0.5564, allocations: 6.032 MB / 0.5612 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008333/0.5648, allocations: 4.557 MB / 0.5656 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004689/0.5695, allocations: 1.947 MB / 0.5675 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00555/0.5751, allocations: 2.609 MB / 0.5701 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002233/0.5773, allocations: 411.9 kB / 0.5705 GB, free: 9.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00509/0.5825, allocations: 1.443 MB / 0.5719 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004811/0.5873, allocations: 2.439 MB / 0.5743 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006419/0.5937, allocations: 2.703 MB / 0.5769 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01578/0.6096, allocations: 8.634 MB / 0.5853 GB, free: 10.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.6096, allocations: 0 / 0.5853 GB, free: 10.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6096, allocations: 3.938 kB / 0.5853 GB, free: 10.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003183/0.6099, allocations: 0 / 0.5853 GB, free: 10.71 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.02013/0.6301, allocations: 6.156 MB / 0.5913 GB, free: 4.473 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.6302, allocations: 12.03 kB / 0.5914 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01621/0.6464, allocations: 2.575 MB / 0.5939 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01199/0.6584, allocations: 3.752 MB / 0.5975 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000377/0.6588, allocations: 275.5 kB / 0.5978 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001816/0.6607, allocations: 383.7 kB / 0.5982 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0218/0.6825, allocations: 11.6 MB / 0.6095 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000197/0.6827, allocations: 67.45 kB / 0.6095 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009622/0.6837, allocations: 175.8 kB / 0.6097 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003478/0.6872, allocations: 2.147 MB / 0.6118 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01937/0.7065, allocations: 9.609 MB / 0.6212 GB, free: 4.961 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05461/0.7612, allocations: 45.72 MB / 0.6658 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/0.7714, allocations: 3.937 MB / 0.6697 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002955/0.7744, allocations: 2.154 MB / 0.6718 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01107/0.7854, allocations: 6.532 MB / 0.6782 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.7855, allocations: 47.56 kB / 0.6782 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 4.979e-06/0.7855, allocations: 0 / 0.6782 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.08025/0.8658, allocations: 16.75 MB / 0.6946 GB, free: 8.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.866, allocations: 196.9 kB / 0.6948 GB, free: 7.945 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01543/0.8814, allocations: 5.616 MB / 0.7002 GB, free: 2.348 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004538/0.8819, allocations: 49.7 kB / 0.7003 GB, free: 2.293 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005171/0.8871, allocations: 3.837 MB / 0.704 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001327/0.8885, allocations: 0.6943 MB / 0.7047 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003766/0.8922, allocations: 1.432 MB / 0.7061 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.8924, allocations: 305.1 kB / 0.7064 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006439/0.8989, allocations: 2.313 MB / 0.7087 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01134/0.9102, allocations: 6.575 MB / 0.7151 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2849/1.195, allocations: 9.567 MB / 0.7244 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001092/1.195, allocations: 42.41 kB / 0.7245 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01404/1.209, allocations: 9.638 MB / 0.7339 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.031e-05/1.209, allocations: 75.47 kB / 0.734 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/1.21, allocations: 151.1 kB / 0.7341 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002585/1.212, allocations: 1.206 MB / 0.7353 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003885/1.216, allocations: 1.569 MB / 0.7368 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007451/1.224, allocations: 8.343 MB / 0.745 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004453/1.228, allocations: 373.6 kB / 0.7453 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006202/1.229, allocations: 423.2 kB / 0.7457 GB, free: 142 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.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 (842): * Single equations (assignments): 835 * 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.003049/1.232, allocations: 2.453 MB / 0.7481 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007496/1.232, allocations: 477.4 kB / 0.7486 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005104/1.238, allocations: 3.426 MB / 0.7519 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/1.238, allocations: 15.2 kB / 0.7519 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/1.238, allocations: 0 / 0.7519 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/1.239, allocations: 0.5399 MB / 0.7525 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005088/1.239, allocations: 27.94 kB / 0.7525 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/1.241, allocations: 95.55 kB / 0.7526 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/1.241, allocations: 108.8 kB / 0.7527 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005638/1.247, allocations: 3.888 MB / 0.7565 GB, free: 132 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004692/1.251, allocations: 4.977 MB / 0.7613 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001174/1.252, allocations: 1.214 MB / 0.7625 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004327/1.257, allocations: 3.564 MB / 0.766 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of Backend: time 6.82e-07/1.257, allocations: 0 / 0.766 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007906/1.265, allocations: 4.757 MB / 0.7706 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01344/1.278, allocations: 11.23 MB / 0.7816 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of Templates: time 1.219/2.498, allocations: 53.78 MB / 0.8341 GB, free: 52.75 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches