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.001017/0.001017, allocations: 94.39 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 200.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.7 MB / 246.8 MB, free: 9.562 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2016/0.2016, allocations: 46.19 MB / 345.2 MB, free: 11.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002689/0.0002689, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1163, allocations: 63.56 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3203/0.4366, allocations: 63.11 MB / 0.5335 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02972/0.4664, allocations: 12.94 MB / 0.5461 GB, free: 396 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01339/0.4798, allocations: 282.7 kB / 0.5464 GB, free: 352 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.4815, allocations: 0.4888 MB / 0.5469 GB, free: 152 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00614/0.4877, allocations: 2.058 MB / 0.5489 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.4897, allocations: 0.8132 MB / 0.5497 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01068/0.5004, allocations: 8.654 MB / 0.5581 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008005/0.5084, allocations: 6.065 MB / 0.564 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002597/0.5111, allocations: 1.439 MB / 0.5655 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003153/0.5142, allocations: 2.433 MB / 0.5678 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005628/0.5148, allocations: 168 kB / 0.568 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.5172, allocations: 1.287 MB / 0.5692 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002059/0.5193, allocations: 2.17 MB / 0.5714 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00252/0.5218, allocations: 2.443 MB / 0.5738 GB, free: 9.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008478/0.5303, allocations: 8.155 MB / 0.5817 GB, free: 1.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5303, allocations: 0 / 0.5817 GB, free: 1.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5303, allocations: 0 / 0.5817 GB, free: 1.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001785/0.5305, allocations: 4 kB / 0.5817 GB, free: 1.574 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01115/0.5417, allocations: 5.1 MB / 0.5867 GB, free: 12.4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.5418, allocations: 8.875 kB / 0.5867 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002334/0.5441, allocations: 0.8227 MB / 0.5875 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03935/0.5835, allocations: 6.117 MB / 0.5935 GB, free: 5.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009618/0.5931, allocations: 4.051 MB / 0.5974 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/0.5934, allocations: 287.1 kB / 0.5977 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.5947, allocations: 371.8 kB / 0.5981 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02191/0.6166, allocations: 11.48 MB / 0.6093 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000186/0.6168, allocations: 63.42 kB / 0.6093 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008967/0.6177, allocations: 175.8 kB / 0.6095 GB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003659/0.6214, allocations: 2.151 MB / 0.6116 GB, free: 1.953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01981/0.6412, allocations: 9.379 MB / 0.6208 GB, free: 8.551 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05376/0.695, allocations: 45.4 MB / 0.6651 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009839/0.7049, allocations: 3.812 MB / 0.6688 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002717/0.7077, allocations: 2.037 MB / 0.6708 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01015/0.7178, allocations: 6.242 MB / 0.6769 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.7179, allocations: 47.56 kB / 0.677 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 3.687e-06/0.7179, allocations: 0 / 0.677 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.03885/0.7568, allocations: 14.72 MB / 0.6913 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.135e-05/0.7569, allocations: 196.9 kB / 0.6915 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008433/0.7654, allocations: 5.611 MB / 0.697 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002515/0.7656, allocations: 57.64 kB / 0.6971 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002675/0.7683, allocations: 3.737 MB / 0.7007 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007712/0.7691, allocations: 0.6636 MB / 0.7014 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008063/0.7699, allocations: 0.571 MB / 0.7019 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.782e-05/0.77, allocations: 301.1 kB / 0.7022 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003187/0.7732, allocations: 2.094 MB / 0.7042 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2234/0.9966, allocations: 6.339 MB / 0.7104 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008987/1.006, allocations: 9.179 MB / 0.7194 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001387/1.006, allocations: 45.5 kB / 0.7194 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01515/1.021, allocations: 8.644 MB / 0.7279 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/1.021, allocations: 69.94 kB / 0.7279 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002212/1.021, allocations: 151.1 kB / 0.7281 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001791/1.023, allocations: 0.7033 MB / 0.7288 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004663/1.028, allocations: 1.514 MB / 0.7303 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006605/1.034, allocations: 6.333 MB / 0.7364 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005119/1.04, allocations: 347.8 kB / 0.7368 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001149/1.041, allocations: 412 kB / 0.7372 GB, free: 161 MB / 0.5294 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.005622/1.046, allocations: 2.459 MB / 0.7396 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/1.047, allocations: 466.6 kB / 0.74 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004977/1.052, allocations: 2.684 MB / 0.7426 GB, free: 159 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.065e-05/1.053, allocations: 19.31 kB / 0.7427 GB, free: 159 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-05/1.053, allocations: 5.062 kB / 0.7427 GB, free: 159 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/1.053, allocations: 12.47 kB / 0.7427 GB, free: 159 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/1.067, allocations: 7.468 MB / 0.75 GB, free: 155.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.479e-05/1.067, allocations: 7.938 kB / 0.75 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/1.069, allocations: 296.2 kB / 0.7503 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001355/1.07, allocations: 491 kB / 0.7507 GB, free: 154.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001887/1.07, allocations: 31.89 kB / 0.7508 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005507/1.076, allocations: 5.688 MB / 0.7563 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.076, allocations: 6.516 kB / 0.7563 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006257/1.082, allocations: 4.964 MB / 0.7612 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001716/1.084, allocations: 0.5185 MB / 0.7617 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001134/1.085, allocations: 35.98 kB / 0.7617 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/1.087, allocations: 71.92 kB / 0.7618 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002433/1.087, allocations: 104.7 kB / 0.7619 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.087, allocations: 47.91 kB / 0.7619 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006548/1.094, allocations: 3.603 MB / 0.7654 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/1.094, allocations: 0 / 0.7654 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006602/1.101, allocations: 1.087 MB / 0.7665 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.006508/1.107, allocations: 5.614 MB / 0.772 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007484/1.115, allocations: 5.149 MB / 0.777 GB, free: 128 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.115, allocations: 4 kB / 0.777 GB, free: 128 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/1.116, allocations: 1.492 MB / 0.7785 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005559/1.122, allocations: 0.6056 MB / 0.7791 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08512/1.207, allocations: 67.57 MB / 0.845 GB, free: 48.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003806/1.211, allocations: 3.766 MB / 0.8487 GB, free: 45.18 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004568/1.215, allocations: 2.127 MB / 0.8508 GB, free: 43.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002149/1.217, allocations: 2.311 MB / 0.8531 GB, free: 40.73 MB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/1.217, allocations: 4 kB / 0.8531 GB, free: 40.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.355/1.572, allocations: 86.69 MB / 0.9377 GB, free: 169 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/1.573, allocations: 215 kB / 0.9379 GB, free: 168.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.155/5.728, allocations: 0 / 0.9379 GB, free: 168.7 MB / 0.545 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