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.001096/0.001096, allocations: 117.2 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 208.6 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246.9 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.2114/0.2114, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 71.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4179, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01441/0.4323, allocations: 12.65 MB / 0.5434 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.443, allocations: 4.491 MB / 0.5477 GB, free: 160 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00317/0.4462, allocations: 85.66 kB / 0.5478 GB, free: 144 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007803/0.454, allocations: 3.718 MB / 0.5514 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007983/0.4621, allocations: 2.234 MB / 0.5536 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002869/0.465, allocations: 0.9982 MB / 0.5546 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01012/0.4751, allocations: 6.033 MB / 0.5605 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007257/0.4824, allocations: 4.559 MB / 0.5649 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003979/0.4864, allocations: 1.951 MB / 0.5669 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004547/0.491, allocations: 2.609 MB / 0.5694 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001582/0.4926, allocations: 408 kB / 0.5698 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003614/0.4963, allocations: 1.443 MB / 0.5712 GB, free: 8.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003557/0.4999, allocations: 2.435 MB / 0.5736 GB, free: 5.945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005298/0.5052, allocations: 2.699 MB / 0.5762 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0118/0.517, allocations: 8.612 MB / 0.5846 GB, free: 10.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.5171, allocations: 4 kB / 0.5846 GB, free: 10.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5171, allocations: 0 / 0.5846 GB, free: 10.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002976/0.5174, allocations: 0 / 0.5846 GB, free: 10.59 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.01389/0.5313, allocations: 5.993 MB / 0.5905 GB, free: 4.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.5313, allocations: 12.03 kB / 0.5905 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/0.5423, allocations: 2.544 MB / 0.593 GB, free: 1.953 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009155/0.5515, allocations: 3.738 MB / 0.5966 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/0.5518, allocations: 279.5 kB / 0.5969 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/0.553, allocations: 375.7 kB / 0.5973 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02209/0.5751, allocations: 11.59 MB / 0.6086 GB, free: 1.066 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001816/0.5753, allocations: 63.42 kB / 0.6086 GB, free: 1.004 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005051/0.5758, allocations: 175.8 kB / 0.6088 GB, free: 0.832 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003421/0.5792, allocations: 2.151 MB / 0.6109 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01969/0.5989, allocations: 9.609 MB / 0.6203 GB, free: 5.055 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06565/0.6646, allocations: 45.64 MB / 0.6649 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/0.6754, allocations: 3.925 MB / 0.6687 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0032/0.6787, allocations: 2.158 MB / 0.6708 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01377/0.6925, allocations: 6.511 MB / 0.6772 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/0.6926, allocations: 51.5 kB / 0.6772 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 5.19e-06/0.6926, allocations: 0 / 0.6772 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.05204/0.7446, allocations: 16.47 MB / 0.6933 GB, free: 8.621 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.7448, allocations: 200.9 kB / 0.6935 GB, free: 8.383 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008907/0.7537, allocations: 5.603 MB / 0.699 GB, free: 2.797 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004758/0.7542, allocations: 49.7 kB / 0.699 GB, free: 2.742 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003625/0.7578, allocations: 3.697 MB / 0.7026 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001477/0.7593, allocations: 0.6715 MB / 0.7033 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002506/0.7619, allocations: 1.412 MB / 0.7046 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.7621, allocations: 305.1 kB / 0.7049 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004011/0.7661, allocations: 2.309 MB / 0.7072 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007266/0.7734, allocations: 6.571 MB / 0.7136 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.345/1.118, allocations: 9.569 MB / 0.723 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001655/1.119, allocations: 45.34 kB / 0.723 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01854/1.137, allocations: 9.617 MB / 0.7324 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-05/1.137, allocations: 78.41 kB / 0.7325 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001311/1.137, allocations: 153.8 kB / 0.7326 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00271/1.14, allocations: 1.207 MB / 0.7338 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004309/1.144, allocations: 1.568 MB / 0.7353 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007959/1.152, allocations: 8.333 MB / 0.7435 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005318/1.158, allocations: 367.4 kB / 0.7438 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007723/1.159, allocations: 428.4 kB / 0.7442 GB, free: 142.1 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.003342/1.162, allocations: 2.455 MB / 0.7466 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007244/1.163, allocations: 461.5 kB / 0.7471 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005264/1.168, allocations: 3.428 MB / 0.7504 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/1.168, allocations: 22 kB / 0.7504 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/1.168, allocations: 8 kB / 0.7504 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/1.168, allocations: 11.97 kB / 0.7504 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/1.18, allocations: 8.162 MB / 0.7584 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/1.18, allocations: 4 kB / 0.7584 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/1.181, allocations: 299.5 kB / 0.7587 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0023/1.183, allocations: 0.9812 MB / 0.7597 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/1.183, allocations: 32 kB / 0.7597 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006681/1.19, allocations: 7.686 MB / 0.7672 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.19, allocations: 4 kB / 0.7672 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007052/1.197, allocations: 5.872 MB / 0.7729 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/1.198, allocations: 0.5146 MB / 0.7734 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000474/1.199, allocations: 27.98 kB / 0.7735 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/1.2, allocations: 103.8 kB / 0.7736 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002655/1.201, allocations: 92.81 kB / 0.7736 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/1.201, allocations: 47.67 kB / 0.7737 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004158/1.205, allocations: 3.58 MB / 0.7772 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/1.205, allocations: 0 / 0.7772 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00566/1.211, allocations: 1.155 MB / 0.7783 GB, free: 108.4 MB / 0.5606 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.0004322/1.211, allocations: 164.1 kB / 0.7785 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006672/1.218, allocations: 5.596 MB / 0.7839 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.218, allocations: 0 / 0.7839 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00168/1.219, allocations: 1.611 MB / 0.7855 GB, free: 101 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/1.222, allocations: 0.6099 MB / 0.7861 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/1.237, allocations: 10.74 MB / 0.7966 GB, free: 89.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003078/1.24, allocations: 3.76 MB / 0.8003 GB, free: 85.86 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004119/1.244, allocations: 2.127 MB / 0.8023 GB, free: 83.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000735/1.245, allocations: 295.4 kB / 0.8026 GB, free: 83.44 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/1.245, allocations: 0 / 0.8026 GB, free: 83.44 MB / 0.5606 GB Notification: Performance of Templates: time 0.06908/1.314, allocations: 41.42 MB / 0.8431 GB, free: 42.26 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/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_trunk_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches