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.001451/0.001451, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001671/0.001671, allocations: 194 kB / 18.12 MB, free: 5.363 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.406/1.406, allocations: 222.9 MB / 241.8 MB, free: 13.86 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.2097/0.2097, allocations: 44.17 MB / 336.1 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.56 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1373, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3185/0.4559, allocations: 72.33 MB / 0.5282 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03878/0.4947, allocations: 14.41 MB / 0.5422 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02125/0.516, allocations: 312.9 kB / 0.5425 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006714/0.5228, allocations: 3.731 MB / 0.5462 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006384/0.5292, allocations: 2.115 MB / 0.5483 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.5319, allocations: 0.9274 MB / 0.5492 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01135/0.5432, allocations: 8.732 MB / 0.5577 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006647/0.5499, allocations: 4.538 MB / 0.5621 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004366/0.5543, allocations: 1.779 MB / 0.5639 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00527/0.5596, allocations: 2.851 MB / 0.5666 GB, free: 288 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.5608, allocations: 292 kB / 0.5669 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003257/0.5641, allocations: 1.428 MB / 0.5683 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00261/0.5667, allocations: 2.415 MB / 0.5707 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003912/0.5706, allocations: 2.687 MB / 0.5733 GB, free: 9.441 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.5815, allocations: 8.512 MB / 0.5816 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5815, allocations: 0 / 0.5816 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5815, allocations: 4 kB / 0.5816 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003198/0.5819, allocations: 0 / 0.5816 GB, free: 0.8984 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.01552/0.5974, allocations: 6.118 MB / 0.5876 GB, free: 10.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.5975, allocations: 8.031 kB / 0.5876 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.6093, allocations: 2.599 MB / 0.5901 GB, free: 8.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01009/0.6195, allocations: 3.77 MB / 0.5938 GB, free: 4.266 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003335/0.6199, allocations: 279.8 kB / 0.5941 GB, free: 3.992 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001987/0.6219, allocations: 383.7 kB / 0.5944 GB, free: 3.617 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02367/0.6456, allocations: 11.98 MB / 0.6061 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001638/0.6458, allocations: 59.42 kB / 0.6062 GB, free: 6.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005984/0.6464, allocations: 183.8 kB / 0.6064 GB, free: 6.551 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003735/0.6501, allocations: 2.264 MB / 0.6086 GB, free: 4.285 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02213/0.6723, allocations: 9.935 MB / 0.6183 GB, free: 10.33 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06438/0.7367, allocations: 46.66 MB / 0.6639 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/0.7473, allocations: 3.937 MB / 0.6677 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00337/0.7507, allocations: 2.174 MB / 0.6698 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01333/0.7641, allocations: 6.527 MB / 0.6762 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.7642, allocations: 51.55 kB / 0.6762 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 5.229e-06/0.7642, allocations: 4 kB / 0.6763 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.04646/0.8106, allocations: 16.57 MB / 0.6924 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.8108, allocations: 200.9 kB / 0.6926 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008356/0.8192, allocations: 5.672 MB / 0.6982 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004177/0.8196, allocations: 45.7 kB / 0.6982 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002823/0.8224, allocations: 3.783 MB / 0.7019 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000999/0.8235, allocations: 0.6637 MB / 0.7026 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002/0.8255, allocations: 1.431 MB / 0.704 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.8256, allocations: 305.1 kB / 0.7042 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2732/1.099, allocations: 2.324 MB / 0.7065 GB, free: 190.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0069/1.106, allocations: 6.623 MB / 0.713 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01364/1.119, allocations: 9.627 MB / 0.7224 GB, free: 176 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003095/1.12, allocations: 43.38 kB / 0.7224 GB, free: 176 MB / 0.5294 GB Notification: Performance of matching and sorting (n=908) (initialization): time 0.02096/1.141, allocations: 9.667 MB / 0.7319 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/1.141, allocations: 77.2 kB / 0.7319 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002226/1.141, allocations: 154.9 kB / 0.7321 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002942/1.144, allocations: 1.212 MB / 0.7333 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004747/1.149, allocations: 1.584 MB / 0.7348 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00831/1.157, allocations: 7.757 MB / 0.7424 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005649/1.163, allocations: 362.3 kB / 0.7427 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/1.164, allocations: 435.5 kB / 0.7431 GB, free: 167.6 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.003719/1.168, allocations: 2.514 MB / 0.7456 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006907/1.168, allocations: 457.5 kB / 0.746 GB, free: 166 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005326/1.174, allocations: 3.443 MB / 0.7494 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/1.174, allocations: 16 kB / 0.7494 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.174, allocations: 8 kB / 0.7494 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/1.174, allocations: 10.66 kB / 0.7494 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/1.186, allocations: 8.295 MB / 0.7575 GB, free: 155.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/1.186, allocations: 4.281 kB / 0.7575 GB, free: 155.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/1.188, allocations: 299.5 kB / 0.7578 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002464/1.19, allocations: 0.9835 MB / 0.7588 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/1.19, allocations: 32.36 kB / 0.7588 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006587/1.197, allocations: 7.102 MB / 0.7658 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.197, allocations: 4 kB / 0.7658 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007437/1.204, allocations: 5.888 MB / 0.7715 GB, free: 141 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/1.206, allocations: 0.5224 MB / 0.772 GB, free: 140.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005866/1.206, allocations: 31.44 kB / 0.772 GB, free: 140.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/1.208, allocations: 95.88 kB / 0.7721 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002901/1.208, allocations: 92.81 kB / 0.7722 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/1.208, allocations: 51.98 kB / 0.7723 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004946/1.213, allocations: 3.616 MB / 0.7758 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.71e-07/1.213, allocations: 0 / 0.7758 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006572/1.22, allocations: 1.181 MB / 0.777 GB, free: 135.4 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.0005177/1.22, allocations: 173.4 kB / 0.7771 GB, free: 135.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007641/1.228, allocations: 5.579 MB / 0.7826 GB, free: 129.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.228, allocations: 0 / 0.7826 GB, free: 129.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/1.23, allocations: 1.62 MB / 0.7842 GB, free: 128 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003919/1.234, allocations: 0.59 MB / 0.7847 GB, free: 127.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/1.252, allocations: 13.36 MB / 0.7978 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003493/1.256, allocations: 3.85 MB / 0.8015 GB, free: 110.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00457/1.26, allocations: 2.14 MB / 0.8036 GB, free: 108 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007182/1.261, allocations: 295.4 kB / 0.8039 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/1.261, allocations: 0 / 0.8039 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.0794/1.341, allocations: 44.61 MB / 0.8475 GB, free: 63.35 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/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