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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001754/0.001754, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002439/0.002439, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.4 MB / 247 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.2506/0.2506, allocations: 46.13 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002277, allocations: 79.86 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3946, allocations: 62.45 MB / 0.5306 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01715/0.4118, allocations: 12.65 MB / 0.543 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.4232, allocations: 4.49 MB / 0.5474 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002726/0.426, allocations: 85.09 kB / 0.5475 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007849/0.4339, allocations: 3.709 MB / 0.5511 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00703/0.441, allocations: 2.175 MB / 0.5532 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003021/0.4441, allocations: 1.002 MB / 0.5542 GB, free: 9.512 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01035/0.4545, allocations: 6.031 MB / 0.5601 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007289/0.4618, allocations: 4.558 MB / 0.5645 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004385/0.4662, allocations: 1.951 MB / 0.5664 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004914/0.4712, allocations: 2.601 MB / 0.569 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001565/0.4728, allocations: 408 kB / 0.5694 GB, free: 9.875 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004222/0.477, allocations: 1.439 MB / 0.5708 GB, free: 8.434 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004061/0.4812, allocations: 2.42 MB / 0.5731 GB, free: 6.008 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006113/0.4873, allocations: 2.761 MB / 0.5758 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01503/0.5024, allocations: 8.778 MB / 0.5844 GB, free: 10.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.5024, allocations: 0 / 0.5844 GB, free: 10.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.64e-06/0.5025, allocations: 0 / 0.5844 GB, free: 10.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003568/0.5028, allocations: 3.938 kB / 0.5844 GB, free: 10.41 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.01752/0.5203, allocations: 6.339 MB / 0.5906 GB, free: 3.992 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.5204, allocations: 8.031 kB / 0.5906 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002172/0.5226, allocations: 0.8305 MB / 0.5914 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.041/0.5636, allocations: 6.047 MB / 0.5973 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01089/0.5746, allocations: 4.154 MB / 0.6014 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000294/0.5749, allocations: 279.3 kB / 0.6016 GB, free: 8.602 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001461/0.5764, allocations: 371.8 kB / 0.602 GB, free: 8.238 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02352/0.5999, allocations: 11.47 MB / 0.6132 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002045/0.6002, allocations: 63.45 kB / 0.6132 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008501/0.601, allocations: 179.8 kB / 0.6134 GB, free: 11.67 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004067/0.6051, allocations: 2.139 MB / 0.6155 GB, free: 9.531 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02078/0.6259, allocations: 9.363 MB / 0.6247 GB, free: 156 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06335/0.6893, allocations: 45.27 MB / 0.6689 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/0.7002, allocations: 3.802 MB / 0.6726 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003184/0.7034, allocations: 2.047 MB / 0.6746 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01183/0.7153, allocations: 6.244 MB / 0.6807 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.254e-05/0.7154, allocations: 47.56 kB / 0.6807 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 6.462e-06/0.7154, allocations: 3.984 kB / 0.6807 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.04604/0.7614, allocations: 14.99 MB / 0.6954 GB, free: 6.125 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/0.7616, allocations: 200.9 kB / 0.6955 GB, free: 5.887 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01028/0.7719, allocations: 5.628 MB / 0.701 GB, free: 288 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003565/0.7723, allocations: 53.69 kB / 0.7011 GB, free: 228 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003757/0.7761, allocations: 3.877 MB / 0.7049 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001021/0.7772, allocations: 0.6979 MB / 0.7056 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002703/0.7799, allocations: 1.353 MB / 0.7069 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.78, allocations: 301.1 kB / 0.7072 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003718/0.7838, allocations: 2.094 MB / 0.7092 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2665/1.05, allocations: 6.339 MB / 0.7154 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009844/1.06, allocations: 9.191 MB / 0.7244 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001831/1.06, allocations: 43.41 kB / 0.7244 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01598/1.076, allocations: 8.657 MB / 0.7329 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/1.077, allocations: 69.06 kB / 0.7329 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001847/1.077, allocations: 149.4 kB / 0.7331 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/1.078, allocations: 0.7076 MB / 0.7338 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004324/1.083, allocations: 1.513 MB / 0.7353 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006419/1.089, allocations: 6.833 MB / 0.7419 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005394/1.095, allocations: 343.2 kB / 0.7423 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/1.096, allocations: 417.6 kB / 0.7427 GB, free: 142.4 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 (804): * Single equations (assignments): 797 * 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.004061/1.1, allocations: 2.453 MB / 0.745 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/1.101, allocations: 490.1 kB / 0.7455 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004507/1.105, allocations: 2.691 MB / 0.7481 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.393e-05/1.105, allocations: 20 kB / 0.7482 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.105, allocations: 4 kB / 0.7482 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.146e-05/1.105, allocations: 6.797 kB / 0.7482 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/1.118, allocations: 7.441 MB / 0.7554 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/1.118, allocations: 4 kB / 0.7554 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/1.12, allocations: 299.8 kB / 0.7557 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001272/1.121, allocations: 488.1 kB / 0.7562 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/1.121, allocations: 39.98 kB / 0.7562 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005304/1.127, allocations: 6.197 MB / 0.7623 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.127, allocations: 8.031 kB / 0.7623 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005991/1.133, allocations: 4.989 MB / 0.7672 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/1.134, allocations: 0.5421 MB / 0.7677 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007743/1.135, allocations: 32 kB / 0.7677 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/1.136, allocations: 71.91 kB / 0.7678 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/1.137, allocations: 104.6 kB / 0.7679 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/1.137, allocations: 44 kB / 0.7679 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00509/1.142, allocations: 3.605 MB / 0.7715 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.21e-07/1.142, allocations: 224 / 0.7715 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005485/1.147, allocations: 1.086 MB / 0.7725 GB, free: 114.2 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.006361/1.154, allocations: 5.637 MB / 0.778 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007047/1.161, allocations: 5.178 MB / 0.7831 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/1.161, allocations: 0 / 0.7831 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001766/1.163, allocations: 1.493 MB / 0.7845 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004418/1.167, allocations: 0.6423 MB / 0.7852 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06968/1.237, allocations: 54.03 MB / 0.8379 GB, free: 40.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004794/1.242, allocations: 3.765 MB / 0.8416 GB, free: 36.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004746/1.247, allocations: 2.129 MB / 0.8437 GB, free: 34.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003231/1.25, allocations: 2.315 MB / 0.8459 GB, free: 32.22 MB / 0.5606 GB Notification: Performance of SimCode: time 1.412e-06/1.25, allocations: 0 / 0.8459 GB, free: 32.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1525/1.402, allocations: 84.87 MB / 0.9288 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.23/31.63, allocations: 13.89 kB / 0.9288 GB, free: 11.77 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces.fmu > 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