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.0008349/0.0008347, allocations: 94.8 kB / 17.35 MB, free: 6.344 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.0009948/0.000995, allocations: 171.1 kB / 18.25 MB, free: 5.508 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.364/1.364, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2049/0.2049, allocations: 44.25 MB / 337.7 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003186, allocations: 8.688 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1167, allocations: 61.92 MB / 472.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3082/0.4249, allocations: 70.6 MB / 0.5301 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03674/0.4617, allocations: 14.35 MB / 0.5441 GB, free: 4.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02236/0.4841, allocations: 312.6 kB / 0.5444 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.4869, allocations: 0.4914 MB / 0.5449 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008091/0.495, allocations: 2.128 MB / 0.547 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.4976, allocations: 0.8083 MB / 0.5478 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01272/0.5103, allocations: 8.726 MB / 0.5563 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01093/0.5213, allocations: 6.109 MB / 0.5623 GB, free: 8.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00425/0.5256, allocations: 1.47 MB / 0.5637 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005531/0.5312, allocations: 2.487 MB / 0.5661 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00145/0.5327, allocations: 172 kB / 0.5663 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004148/0.5369, allocations: 1.303 MB / 0.5676 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003842/0.5407, allocations: 2.24 MB / 0.5698 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005818/0.5466, allocations: 2.478 MB / 0.5722 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01372/0.5603, allocations: 8.264 MB / 0.5802 GB, free: 5.703 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.5604, allocations: 0 / 0.5802 GB, free: 5.703 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.5604, allocations: 0 / 0.5802 GB, free: 5.703 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003894/0.5608, allocations: 0 / 0.5802 GB, free: 5.703 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.01356/0.5744, allocations: 5.062 MB / 0.5852 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.5745, allocations: 8.031 kB / 0.5852 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01296/0.5874, allocations: 2.649 MB / 0.5878 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009353/0.5968, allocations: 3.762 MB / 0.5915 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000277/0.5971, allocations: 279.7 kB / 0.5917 GB, free: 9.812 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001481/0.5986, allocations: 391.6 kB / 0.5921 GB, free: 9.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02388/0.6225, allocations: 12 MB / 0.6038 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002319/0.6228, allocations: 51.53 kB / 0.6039 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005587/0.6234, allocations: 179.8 kB / 0.604 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004253/0.6276, allocations: 2.264 MB / 0.6063 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02301/0.6507, allocations: 9.954 MB / 0.616 GB, free: 116 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07175/0.7225, allocations: 46.7 MB / 0.6616 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/0.7335, allocations: 3.942 MB / 0.6654 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003325/0.7369, allocations: 2.166 MB / 0.6675 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01177/0.7487, allocations: 6.539 MB / 0.6739 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.7488, allocations: 47.56 kB / 0.674 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=154): time 4.668e-06/0.7488, allocations: 4 kB / 0.674 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=166): time 0.05122/0.8, allocations: 16.57 MB / 0.6902 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.8001, allocations: 200.9 kB / 0.6904 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01092/0.8111, allocations: 5.668 MB / 0.6959 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004429/0.8115, allocations: 45.7 kB / 0.6959 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003415/0.815, allocations: 3.771 MB / 0.6996 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001068/0.8161, allocations: 0.6753 MB / 0.7003 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001217/0.8173, allocations: 0.6111 MB / 0.7009 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.8174, allocations: 317.1 kB / 0.7012 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004577/0.822, allocations: 2.321 MB / 0.7034 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2893/1.111, allocations: 6.617 MB / 0.7099 GB, free: 183.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0146/1.126, allocations: 9.631 MB / 0.7193 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003082/1.126, allocations: 43.41 kB / 0.7193 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=908) (initialization): time 0.02319/1.15, allocations: 9.678 MB / 0.7288 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/1.15, allocations: 74.03 kB / 0.7289 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002326/1.15, allocations: 148.6 kB / 0.729 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003234/1.153, allocations: 1.211 MB / 0.7302 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005142/1.158, allocations: 1.587 MB / 0.7317 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008074/1.167, allocations: 7.752 MB / 0.7393 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005886/1.172, allocations: 375 kB / 0.7397 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00121/1.174, allocations: 428.8 kB / 0.7401 GB, free: 167.8 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.004519/1.178, allocations: 2.508 MB / 0.7425 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008342/1.179, allocations: 459 kB / 0.743 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005847/1.185, allocations: 3.439 MB / 0.7463 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.934e-05/1.185, allocations: 22.64 kB / 0.7463 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/1.185, allocations: 10.62 kB / 0.7464 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/1.185, allocations: 3.797 kB / 0.7464 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/1.199, allocations: 8.299 MB / 0.7545 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/1.199, allocations: 7.062 kB / 0.7545 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/1.201, allocations: 302.8 kB / 0.7548 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00246/1.203, allocations: 0.9786 MB / 0.7557 GB, free: 157.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/1.203, allocations: 36.69 kB / 0.7558 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006896/1.21, allocations: 7.099 MB / 0.7627 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.21, allocations: 11.92 kB / 0.7627 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007918/1.218, allocations: 5.876 MB / 0.7684 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/1.22, allocations: 0.5302 MB / 0.769 GB, free: 143.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006458/1.22, allocations: 36.86 kB / 0.769 GB, free: 143.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/1.222, allocations: 91.5 kB / 0.7691 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/1.222, allocations: 96.8 kB / 0.7692 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/1.222, allocations: 48.7 kB / 0.7692 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005401/1.228, allocations: 3.624 MB / 0.7728 GB, free: 140 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.092e-06/1.228, allocations: 0 / 0.7728 GB, free: 140 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007278/1.235, allocations: 1.185 MB / 0.7739 GB, free: 138.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.0005192/1.236, allocations: 165.9 kB / 0.7741 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008436/1.244, allocations: 5.578 MB / 0.7795 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.244, allocations: 1.812 kB / 0.7795 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002048/1.246, allocations: 1.62 MB / 0.7811 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006399/1.253, allocations: 0.5916 MB / 0.7817 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03085/1.284, allocations: 13.46 MB / 0.7948 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007891/1.292, allocations: 3.854 MB / 0.7986 GB, free: 113.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0107/1.302, allocations: 2.136 MB / 0.8007 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001849/1.304, allocations: 299.4 kB / 0.801 GB, free: 111.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.383e-06/1.304, allocations: 4 kB / 0.801 GB, free: 111.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.08967/1.394, allocations: 43.95 MB / 0.8439 GB, free: 67.3 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