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.001844/0.001845, allocations: 110.3 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002424/0.002424, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.983/1.984, allocations: 227.4 MB / 246.9 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3452/0.3452, allocations: 46.1 MB / 344.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 79.88 kB / 417.5 MB, free: 7.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1968, allocations: 62.42 MB / 479.9 MB, free: 9.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.1102/0.307, allocations: 64.7 MB / 0.5319 GB, free: 8.062 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.4655/0.7726, allocations: 13.01 MB / 0.5446 GB, free: 35.54 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02241/0.7951, allocations: 288.5 kB / 0.5448 GB, free: 35.54 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01093/0.8061, allocations: 3.703 MB / 0.5485 GB, free: 35.54 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00919/0.8154, allocations: 2.054 MB / 0.5505 GB, free: 35.44 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003693/0.8191, allocations: 0.9315 MB / 0.5514 GB, free: 35.42 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01622/0.8354, allocations: 8.658 MB / 0.5598 GB, free: 35.39 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01036/0.8458, allocations: 4.508 MB / 0.5642 GB, free: 35 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006018/0.8519, allocations: 1.733 MB / 0.5659 GB, free: 35 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007815/0.8597, allocations: 2.816 MB / 0.5687 GB, free: 34.77 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002436/0.8622, allocations: 288.6 kB / 0.569 GB, free: 34.77 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005407/0.8677, allocations: 1.409 MB / 0.5703 GB, free: 34.76 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005381/0.8731, allocations: 2.335 MB / 0.5726 GB, free: 34.51 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00939/0.8825, allocations: 2.597 MB / 0.5751 GB, free: 33.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01342/0.896, allocations: 6.778 MB / 0.5818 GB, free: 32.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.8961, allocations: 0 / 0.5818 GB, free: 32.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.8961, allocations: 4 kB / 0.5818 GB, free: 32.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000558/0.8966, allocations: 0 / 0.5818 GB, free: 32.86 MB / 462.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.02882/0.9255, allocations: 5.991 MB / 0.5876 GB, free: 29.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.627e-05/0.9256, allocations: 10 kB / 0.5876 GB, free: 29.71 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01453/0.9401, allocations: 2.54 MB / 0.5901 GB, free: 28.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01203/0.9522, allocations: 3.672 MB / 0.5937 GB, free: 26.45 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/0.9526, allocations: 281.8 kB / 0.594 GB, free: 26.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002404/0.955, allocations: 373.9 kB / 0.5943 GB, free: 26.26 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03262/0.9877, allocations: 11.6 MB / 0.6056 GB, free: 19.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004496/0.9882, allocations: 61.95 kB / 0.6057 GB, free: 19.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00246/0.9907, allocations: 177.3 kB / 0.6059 GB, free: 19.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007176/0.9979, allocations: 2.145 MB / 0.608 GB, free: 18.31 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02872/1.027, allocations: 9.616 MB / 0.6174 GB, free: 9.082 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0955/1.122, allocations: 45.83 MB / 0.6621 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01648/1.139, allocations: 3.922 MB / 0.6659 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005488/1.144, allocations: 2.161 MB / 0.6681 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02499/1.169, allocations: 6.53 MB / 0.6744 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/1.17, allocations: 49.62 kB / 0.6745 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 1.07e-05/1.17, allocations: 0 / 0.6745 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.08531/1.255, allocations: 16.46 MB / 0.6906 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001941/1.255, allocations: 203.7 kB / 0.6908 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02427/1.28, allocations: 5.599 MB / 0.6962 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000846/1.281, allocations: 53.06 kB / 0.6963 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.007356/1.288, allocations: 3.697 MB / 0.6999 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00212/1.29, allocations: 0.6712 MB / 0.7005 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008419/1.299, allocations: 1.412 MB / 0.7019 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.299, allocations: 301.1 kB / 0.7022 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008815/1.308, allocations: 2.309 MB / 0.7045 GB, free: 14.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01486/1.323, allocations: 6.582 MB / 0.7109 GB, free: 6.316 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01548/1.338, allocations: 9.565 MB / 0.7202 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00024/1.338, allocations: 44 kB / 0.7203 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.02491/1.363, allocations: 9.62 MB / 0.7297 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002973/1.364, allocations: 72 kB / 0.7297 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004087/1.364, allocations: 148 kB / 0.7299 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00428/1.368, allocations: 1.219 MB / 0.7311 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006535/1.375, allocations: 1.575 MB / 0.7326 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/1.389, allocations: 7.761 MB / 0.7402 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01129/1.401, allocations: 363.4 kB / 0.7405 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003167/1.404, allocations: 420 kB / 0.7409 GB, free: 6.078 MB / 0.5762 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.01298/1.417, allocations: 2.454 MB / 0.7433 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00258/1.42, allocations: 458.1 kB / 0.7438 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4268/1.846, allocations: 3.423 MB / 0.7471 GB, free: 203.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.742e-05/1.847, allocations: 18.78 kB / 0.7471 GB, free: 203.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.355e-05/1.847, allocations: 4.781 kB / 0.7471 GB, free: 203.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.32e-05/1.847, allocations: 9.453 kB / 0.7471 GB, free: 203.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02501/1.872, allocations: 8.196 MB / 0.7551 GB, free: 203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/1.872, allocations: 3.844 kB / 0.7551 GB, free: 203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/1.874, allocations: 297.5 kB / 0.7554 GB, free: 203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002869/1.877, allocations: 0.9857 MB / 0.7564 GB, free: 203 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002613/1.877, allocations: 31.31 kB / 0.7564 GB, free: 203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007948/1.885, allocations: 7.093 MB / 0.7633 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.885, allocations: 4.812 kB / 0.7633 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009584/1.895, allocations: 5.874 MB / 0.7691 GB, free: 199.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00194/1.897, allocations: 0.5141 MB / 0.7696 GB, free: 199.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/1.898, allocations: 29.97 kB / 0.7696 GB, free: 199.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002858/1.901, allocations: 91.5 kB / 0.7697 GB, free: 199.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005763/1.901, allocations: 101.2 kB / 0.7698 GB, free: 199.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002169/1.901, allocations: 47.48 kB / 0.7698 GB, free: 199.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0107/1.912, allocations: 3.583 MB / 0.7733 GB, free: 198.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.92e-07/1.912, allocations: 1.375 kB / 0.7733 GB, free: 198.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01008/1.922, allocations: 1.15 MB / 0.7745 GB, free: 198.2 MB / 0.5762 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.001011/1.923, allocations: 170.8 kB / 0.7746 GB, free: 198.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01252/1.936, allocations: 5.561 MB / 0.7801 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.936, allocations: 1.25 kB / 0.7801 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0027/1.939, allocations: 1.625 MB / 0.7816 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005174/1.944, allocations: 0.5724 MB / 0.7822 GB, free: 195.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02877/1.973, allocations: 13.5 MB / 0.7954 GB, free: 188.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01015/1.983, allocations: 3.741 MB / 0.799 GB, free: 187.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00174/1.985, allocations: 344.7 kB / 0.7994 GB, free: 187.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.724e-06/1.985, allocations: 0 / 0.7994 GB, free: 187.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.2036/2.188, allocations: 111.7 MB / 0.9084 GB, free: 83.29 MB / 0.5762 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