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.001058/0.001059, allocations: 94.53 kB / 17.35 MB, free: 6.371 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.001359/0.001359, allocations: 176.7 kB / 18.25 MB, free: 5.527 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.266/1.266, allocations: 223.3 MB / 242.3 MB, free: 224 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.1826/0.1826, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.000309, allocations: 8 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1115, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.2767/0.3883, allocations: 70.59 MB / 0.5302 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03139/0.4197, allocations: 14.35 MB / 0.5442 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01506/0.4348, allocations: 312 kB / 0.5445 GB, free: 4.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002323/0.4371, allocations: 0.4958 MB / 0.545 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00585/0.443, allocations: 2.119 MB / 0.5471 GB, free: 2.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.445, allocations: 0.8216 MB / 0.5479 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009198/0.4542, allocations: 8.717 MB / 0.5564 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008744/0.463, allocations: 6.11 MB / 0.5624 GB, free: 8.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002943/0.466, allocations: 1.47 MB / 0.5638 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004026/0.47, allocations: 2.484 MB / 0.5662 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000888/0.4709, allocations: 172 kB / 0.5664 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003228/0.4741, allocations: 1.307 MB / 0.5677 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002824/0.477, allocations: 2.244 MB / 0.5699 GB, free: 428 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004009/0.481, allocations: 2.528 MB / 0.5723 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008649/0.4897, allocations: 8.4 MB / 0.5805 GB, free: 5.438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4897, allocations: 0 / 0.5805 GB, free: 5.438 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4897, allocations: 0 / 0.5805 GB, free: 5.438 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002066/0.4899, allocations: 0 / 0.5805 GB, free: 5.438 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.01097/0.5009, allocations: 5.201 MB / 0.5856 GB, free: 172 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.501, allocations: 12.03 kB / 0.5856 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002067/0.503, allocations: 0.8475 MB / 0.5865 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0384/0.5414, allocations: 6.172 MB / 0.5925 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008272/0.5497, allocations: 4.313 MB / 0.5967 GB, free: 4.746 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/0.55, allocations: 287.2 kB / 0.597 GB, free: 4.465 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/0.5512, allocations: 379.7 kB / 0.5973 GB, free: 4.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02068/0.5719, allocations: 11.87 MB / 0.6089 GB, free: 7.375 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002179/0.5722, allocations: 63.42 kB / 0.609 GB, free: 7.312 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001016/0.5732, allocations: 179.8 kB / 0.6092 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00396/0.5772, allocations: 2.268 MB / 0.6114 GB, free: 4.867 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02176/0.5989, allocations: 9.693 MB / 0.6208 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05836/0.6574, allocations: 46.25 MB / 0.666 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009859/0.6673, allocations: 3.804 MB / 0.6697 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002632/0.67, allocations: 2.043 MB / 0.6717 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009803/0.6798, allocations: 6.262 MB / 0.6778 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.6798, allocations: 55.48 kB / 0.6779 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 4.067e-06/0.6799, allocations: 4 kB / 0.6779 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.04794/0.7278, allocations: 14.82 MB / 0.6924 GB, free: 216 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.7279, allocations: 200.9 kB / 0.6925 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008973/0.7369, allocations: 5.676 MB / 0.6981 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002324/0.7372, allocations: 45.7 kB / 0.6981 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002566/0.7398, allocations: 3.823 MB / 0.7019 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007575/0.7405, allocations: 0.6675 MB / 0.7025 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007816/0.7413, allocations: 0.5711 MB / 0.7031 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.7414, allocations: 301.1 kB / 0.7034 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003272/0.7447, allocations: 2.109 MB / 0.7054 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.208/0.9527, allocations: 6.385 MB / 0.7117 GB, free: 183.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009393/0.9621, allocations: 9.242 MB / 0.7207 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001926/0.9623, allocations: 43.78 kB / 0.7207 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=870) (initialization): time 0.01461/0.9769, allocations: 8.692 MB / 0.7292 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.9771, allocations: 70.31 kB / 0.7293 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002082/0.9773, allocations: 151.9 kB / 0.7294 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001632/0.9789, allocations: 0.702 MB / 0.7301 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003943/0.9829, allocations: 1.531 MB / 0.7316 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005389/0.9883, allocations: 6.335 MB / 0.7378 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00423/0.9925, allocations: 350.9 kB / 0.7381 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004681/0.993, allocations: 421.7 kB / 0.7385 GB, free: 169.1 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 (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.003171/0.9962, allocations: 2.513 MB / 0.741 GB, free: 168 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005575/0.9968, allocations: 463 kB / 0.7414 GB, free: 168 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003659/1, allocations: 2.698 MB / 0.7441 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/1, allocations: 21.58 kB / 0.7441 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1, allocations: 7.312 kB / 0.7441 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/1, allocations: 7.5 kB / 0.7441 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/1.012, allocations: 7.568 MB / 0.7515 GB, free: 163 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/1.012, allocations: 11.97 kB / 0.7515 GB, free: 163 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/1.013, allocations: 296.3 kB / 0.7518 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001152/1.014, allocations: 492.6 kB / 0.7523 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.656e-05/1.014, allocations: 31.75 kB / 0.7523 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004897/1.019, allocations: 5.683 MB / 0.7578 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.019, allocations: 8.062 kB / 0.7578 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005747/1.025, allocations: 4.976 MB / 0.7627 GB, free: 152 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/1.026, allocations: 0.5224 MB / 0.7632 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001081/1.027, allocations: 31.3 kB / 0.7632 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/1.029, allocations: 75.91 kB / 0.7633 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/1.03, allocations: 100.8 kB / 0.7634 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/1.03, allocations: 52.92 kB / 0.7635 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005912/1.036, allocations: 3.634 MB / 0.767 GB, free: 147.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.91e-07/1.036, allocations: 0 / 0.767 GB, free: 147.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005946/1.042, allocations: 1.125 MB / 0.7681 GB, free: 146.5 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.005856/1.047, allocations: 5.624 MB / 0.7736 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007415/1.055, allocations: 5.167 MB / 0.7786 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.055, allocations: 0.625 kB / 0.7786 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001768/1.057, allocations: 1.487 MB / 0.7801 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006228/1.063, allocations: 0.6279 MB / 0.7807 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09379/1.157, allocations: 68.47 MB / 0.8476 GB, free: 55.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004236/1.161, allocations: 3.85 MB / 0.8513 GB, free: 51.67 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004611/1.166, allocations: 2.156 MB / 0.8534 GB, free: 49.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002376/1.168, allocations: 2.374 MB / 0.8558 GB, free: 47.13 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/1.168, allocations: 0 / 0.8558 GB, free: 47.13 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3126/1.481, allocations: 87.73 MB / 0.9414 GB, free: 157 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/1.481, allocations: 223.6 kB / 0.9416 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.748/5.229, allocations: 0 / 0.9416 GB, free: 156.8 MB / 0.5294 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