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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 109.5 kB / 17.78 MB, free: 5.312 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.00173/0.00173, allocations: 188 kB / 18.71 MB, free: 4.387 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.36/1.36, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.1987/0.1987, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 67.89 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3066, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01294/0.3196, allocations: 12.85 MB / 0.531 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009587/0.3292, allocations: 4.518 MB / 0.5354 GB, free: 6.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002858/0.3321, allocations: 87.12 kB / 0.5355 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007162/0.3394, allocations: 3.734 MB / 0.5391 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005981/0.3454, allocations: 2.257 MB / 0.5413 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.3477, allocations: 0.9926 MB / 0.5423 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008299/0.356, allocations: 6.035 MB / 0.5482 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005674/0.3617, allocations: 4.585 MB / 0.5527 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003272/0.365, allocations: 1.998 MB / 0.5546 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003761/0.3688, allocations: 2.656 MB / 0.5572 GB, free: 4.266 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001252/0.3701, allocations: 412 kB / 0.5576 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.3734, allocations: 1.463 MB / 0.559 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002878/0.3763, allocations: 2.509 MB / 0.5615 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004439/0.3808, allocations: 2.847 MB / 0.5643 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.3912, allocations: 9.009 MB / 0.5731 GB, free: 3.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3913, allocations: 0 / 0.5731 GB, free: 3.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3913, allocations: 0 / 0.5731 GB, free: 3.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003035/0.3916, allocations: 4 kB / 0.5731 GB, free: 3.977 MB / 430.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.01498/0.4066, allocations: 6.321 MB / 0.5792 GB, free: 13.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4067, allocations: 8.031 kB / 0.5792 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002094/0.4088, allocations: 0.8437 MB / 0.5801 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03932/0.4481, allocations: 6.07 MB / 0.586 GB, free: 6.637 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/0.4584, allocations: 4.398 MB / 0.5903 GB, free: 2.184 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002462/0.4587, allocations: 287.4 kB / 0.5906 GB, free: 1.902 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001335/0.46, allocations: 387.7 kB / 0.5909 GB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02026/0.4803, allocations: 11.84 MB / 0.6025 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001935/0.4805, allocations: 51.53 kB / 0.6026 GB, free: 4.773 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009363/0.4815, allocations: 183.8 kB / 0.6027 GB, free: 4.594 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003661/0.4851, allocations: 2.264 MB / 0.6049 GB, free: 2.328 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0183/0.5035, allocations: 9.681 MB / 0.6144 GB, free: 8.633 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05632/0.5598, allocations: 46.01 MB / 0.6593 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009792/0.5697, allocations: 3.8 MB / 0.663 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002627/0.5723, allocations: 2.037 MB / 0.665 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.5841, allocations: 6.254 MB / 0.6711 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.5842, allocations: 55.5 kB / 0.6712 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 4.909e-06/0.5842, allocations: 0 / 0.6712 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.04125/0.6255, allocations: 14.83 MB / 0.6857 GB, free: 13.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.6256, allocations: 196.9 kB / 0.6859 GB, free: 13.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00994/0.6356, allocations: 5.68 MB / 0.6914 GB, free: 8.043 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003586/0.636, allocations: 53.69 kB / 0.6915 GB, free: 7.984 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003127/0.6391, allocations: 3.823 MB / 0.6952 GB, free: 4.109 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000985/0.6401, allocations: 0.6598 MB / 0.6958 GB, free: 3.441 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00285/0.643, allocations: 1.364 MB / 0.6972 GB, free: 2.066 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.032e-05/0.6431, allocations: 301.1 kB / 0.6974 GB, free: 1.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003364/0.6465, allocations: 2.105 MB / 0.6995 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006246/0.6528, allocations: 6.378 MB / 0.7057 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/0.6632, allocations: 9.244 MB / 0.7148 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001501/0.6634, allocations: 48 kB / 0.7148 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=870) (initialization): time 0.01577/0.6792, allocations: 8.696 MB / 0.7233 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001738/0.6794, allocations: 75.94 kB / 0.7234 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002507/0.6797, allocations: 152 kB / 0.7235 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001876/0.6816, allocations: 0.7084 MB / 0.7242 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004742/0.6863, allocations: 1.521 MB / 0.7257 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2331/0.9194, allocations: 6.814 MB / 0.7323 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004627/0.9241, allocations: 346.7 kB / 0.7327 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000709/0.9248, allocations: 421.3 kB / 0.7331 GB, free: 174.2 MB / 0.5762 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 (810): * Single equations (assignments): 803 * 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.003614/0.9285, allocations: 2.509 MB / 0.7355 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007755/0.9292, allocations: 468.3 kB / 0.736 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004224/0.9335, allocations: 2.692 MB / 0.7386 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.313e-05/0.9335, allocations: 21.22 kB / 0.7386 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.9336, allocations: 5.469 kB / 0.7386 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.9336, allocations: 9.062 kB / 0.7386 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/0.9466, allocations: 7.546 MB / 0.746 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.9466, allocations: 3.281 kB / 0.746 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/0.948, allocations: 307.2 kB / 0.7463 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.9493, allocations: 493.5 kB / 0.7468 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/0.9495, allocations: 32.19 kB / 0.7468 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005302/0.9548, allocations: 6.192 MB / 0.7529 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.9548, allocations: 6.969 kB / 0.7529 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005764/0.9606, allocations: 4.966 MB / 0.7577 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/0.962, allocations: 0.5237 MB / 0.7582 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006319/0.9627, allocations: 26.72 kB / 0.7582 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/0.9643, allocations: 78.36 kB / 0.7583 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/0.9646, allocations: 98.78 kB / 0.7584 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.9647, allocations: 47.84 kB / 0.7585 GB, free: 163 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005069/0.9698, allocations: 3.644 MB / 0.762 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9698, allocations: 0 / 0.762 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005287/0.9751, allocations: 1.126 MB / 0.7631 GB, free: 161.6 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.006282/0.9814, allocations: 5.61 MB / 0.7686 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006638/0.9881, allocations: 5.194 MB / 0.7737 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.9881, allocations: 4.188 kB / 0.7737 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001636/0.9898, allocations: 1.495 MB / 0.7751 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0039/0.9937, allocations: 0.6482 MB / 0.7758 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06216/1.056, allocations: 54.43 MB / 0.8289 GB, free: 89.49 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003718/1.06, allocations: 3.846 MB / 0.8327 GB, free: 85.61 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004004/1.064, allocations: 2.168 MB / 0.8348 GB, free: 83.44 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002375/1.066, allocations: 2.37 MB / 0.8371 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of SimCode: time 7.21e-07/1.066, allocations: 0 / 0.8371 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1213/1.187, allocations: 87.05 MB / 0.9221 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 30/31.18, allocations: 18.64 kB / 0.9221 GB, free: 10.48 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches