Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009185/0.0009187, allocations: 173.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007033/0.0007034, allocations: 91.83 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2913/0.2913, allocations: 43.56 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003788, allocations: 20 kB / 432.1 MB, free: 5.723 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1029, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.2654/0.3684, allocations: 66.44 MB / 0.5443 GB, free: 3.082 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03706/0.4055, allocations: 13.81 MB / 0.5578 GB, free: 9.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01498/0.4205, allocations: 313.9 kB / 0.5581 GB, free: 9.633 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01294/0.4335, allocations: 3.489 MB / 0.5615 GB, free: 8.398 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02943/0.463, allocations: 10.33 MB / 0.5716 GB, free: 3.934 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004726/0.4677, allocations: 0.838 MB / 0.5724 GB, free: 3.402 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.04709/0.5148, allocations: 35.04 MB / 0.6066 GB, free: 3.762 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009935/0.5248, allocations: 6.001 MB / 0.6125 GB, free: 13.7 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003985/0.5289, allocations: 1.689 MB / 0.6141 GB, free: 12 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004121/0.533, allocations: 2.629 MB / 0.6167 GB, free: 9.363 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001065/0.5341, allocations: 184 kB / 0.6169 GB, free: 9.184 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.5371, allocations: 1.295 MB / 0.6181 GB, free: 7.887 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002673/0.5398, allocations: 2.306 MB / 0.6204 GB, free: 5.574 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003386/0.5432, allocations: 2.526 MB / 0.6229 GB, free: 3.027 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007903/0.5511, allocations: 7.334 MB / 0.63 GB, free: 11.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.5511, allocations: 0 / 0.63 GB, free: 11.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.43e-06/0.5512, allocations: 0 / 0.63 GB, free: 11.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003296/0.5515, allocations: 3.938 kB / 0.63 GB, free: 11.67 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01221/0.5637, allocations: 5.419 MB / 0.6353 GB, free: 6.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5638, allocations: 8.031 kB / 0.6353 GB, free: 6.172 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002708/0.5665, allocations: 0.8893 MB / 0.6362 GB, free: 5.27 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05245/0.619, allocations: 6.21 MB / 0.6423 GB, free: 15.04 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01364/0.6327, allocations: 4.715 MB / 0.6469 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004808/0.6332, allocations: 307.5 kB / 0.6471 GB, free: 9.973 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001935/0.6352, allocations: 403.6 kB / 0.6475 GB, free: 9.578 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02356/0.6587, allocations: 12.48 MB / 0.6597 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002575/0.659, allocations: 59.45 kB / 0.6598 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001076/0.6601, allocations: 195.8 kB / 0.66 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003876/0.664, allocations: 2.405 MB / 0.6623 GB, free: 9.582 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.195/0.8591, allocations: 10.24 MB / 0.6723 GB, free: 134.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04667/0.9058, allocations: 48.42 MB / 0.7196 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009935/0.9158, allocations: 4.67 MB / 0.7242 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002894/0.9187, allocations: 2.3 MB / 0.7264 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/0.9294, allocations: 6.892 MB / 0.7331 GB, free: 98.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.9295, allocations: 54.81 kB / 0.7332 GB, free: 98.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 4.809e-06/0.9295, allocations: 0 / 0.7332 GB, free: 98.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.0431/0.9726, allocations: 16.17 MB / 0.749 GB, free: 91.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.9728, allocations: 198.9 kB / 0.7492 GB, free: 91.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006931/0.9797, allocations: 5.823 MB / 0.7549 GB, free: 88.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003906/0.9801, allocations: 57.2 kB / 0.7549 GB, free: 88.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00204/0.9822, allocations: 4 MB / 0.7588 GB, free: 84.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008021/0.983, allocations: 0.7578 MB / 0.7596 GB, free: 83.97 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.9833, allocations: 142.2 kB / 0.7597 GB, free: 83.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002583/0.9836, allocations: 0.6068 MB / 0.7603 GB, free: 83.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003077/0.9866, allocations: 2.355 MB / 0.7626 GB, free: 81.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004276/0.9909, allocations: 6.778 MB / 0.7692 GB, free: 72.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008132/0.9991, allocations: 9.926 MB / 0.7789 GB, free: 60.67 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.942e-05/0.9992, allocations: 44 kB / 0.7789 GB, free: 60.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=926) (initialization): time 0.01493/1.014, allocations: 9.36 MB / 0.7881 GB, free: 51.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.654e-05/1.014, allocations: 72.97 kB / 0.7881 GB, free: 51.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001773/1.014, allocations: 156 kB / 0.7883 GB, free: 51.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/1.016, allocations: 0.7138 MB / 0.789 GB, free: 50.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004957/1.021, allocations: 1.653 MB / 0.7906 GB, free: 48.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005792/1.027, allocations: 6.327 MB / 0.7968 GB, free: 42.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005671/1.033, allocations: 394.8 kB / 0.7972 GB, free: 41.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/1.034, allocations: 436 kB / 0.7976 GB, free: 41.28 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (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 (866): * Single equations (assignments): 859 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004656/1.039, allocations: 2.619 MB / 0.8001 GB, free: 38.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009427/1.04, allocations: 486.4 kB / 0.8006 GB, free: 38.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00536/1.045, allocations: 3.232 MB / 0.8038 GB, free: 34.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.64e-05/1.045, allocations: 20 kB / 0.8038 GB, free: 34.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/1.045, allocations: 8 kB / 0.8038 GB, free: 34.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/1.045, allocations: 11.91 kB / 0.8038 GB, free: 34.87 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/1.061, allocations: 8.563 MB / 0.8122 GB, free: 26.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/1.061, allocations: 8 kB / 0.8122 GB, free: 26.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/1.062, allocations: 367.4 kB / 0.8125 GB, free: 25.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001275/1.064, allocations: 492.1 kB / 0.813 GB, free: 25.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001995/1.064, allocations: 32 kB / 0.813 GB, free: 25.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005062/1.069, allocations: 5.689 MB / 0.8186 GB, free: 19.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.069, allocations: 4.844 kB / 0.8186 GB, free: 19.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006982/1.076, allocations: 5.817 MB / 0.8243 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001994/1.078, allocations: 0.811 MB / 0.8251 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/1.079, allocations: 36 kB / 0.8251 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/1.081, allocations: 99.88 kB / 0.8252 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004041/1.082, allocations: 121 kB / 0.8253 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/1.082, allocations: 47.98 kB / 0.8253 GB, free: 12.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006015/1.088, allocations: 3.728 MB / 0.829 GB, free: 8.695 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.088, allocations: 4 kB / 0.829 GB, free: 8.691 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006576/1.094, allocations: 1.216 MB / 0.8302 GB, free: 7.484 MB / 490.7 MB 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 (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008151/1.103, allocations: 6.466 MB / 0.8365 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009708/1.112, allocations: 5.762 MB / 0.8421 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/1.112, allocations: 0 / 0.8421 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002782/1.115, allocations: 1.744 MB / 0.8438 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007084/1.122, allocations: 0.6225 MB / 0.8444 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3518/1.474, allocations: 48.22 MB / 0.8915 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004201/1.478, allocations: 4.021 MB / 0.8954 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003296/1.482, allocations: 2.562 MB / 0.8979 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.074e-06/1.482, allocations: 0 / 0.8979 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.446/9.928, allocations: 141.7 MB / 1.036 GB, free: 17.08 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches