Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001867/0.001868, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002184/0.002184, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2338/0.2338, allocations: 46.13 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 75.88 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3436, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01733/0.361, allocations: 15.51 MB / 0.5458 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01244/0.3735, allocations: 4.94 MB / 0.5506 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004164/0.3777, allocations: 107.7 kB / 0.5507 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009575/0.3873, allocations: 4.992 MB / 0.5556 GB, free: 8.062 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007308/0.3947, allocations: 2.474 MB / 0.558 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002909/0.3976, allocations: 1.1 MB / 0.5591 GB, free: 4.477 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01041/0.408, allocations: 6.883 MB / 0.5658 GB, free: 13.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007398/0.4155, allocations: 5.778 MB / 0.5714 GB, free: 7.723 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004683/0.4202, allocations: 2.399 MB / 0.5738 GB, free: 5.316 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005646/0.4259, allocations: 3.217 MB / 0.5769 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001841/0.4277, allocations: 0.5039 MB / 0.5774 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003667/0.4314, allocations: 1.393 MB / 0.5788 GB, free: 196 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00371/0.4352, allocations: 2.981 MB / 0.5817 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005899/0.4411, allocations: 3.406 MB / 0.585 GB, free: 9.777 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01498/0.4561, allocations: 10.55 MB / 0.5953 GB, free: 15.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.4562, allocations: 0 / 0.5953 GB, free: 15.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4562, allocations: 0 / 0.5953 GB, free: 15.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003903/0.4566, allocations: 0 / 0.5953 GB, free: 15.18 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.01961/0.4762, allocations: 7.788 MB / 0.6029 GB, free: 7.301 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.4762, allocations: 8.031 kB / 0.6029 GB, free: 7.293 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00216/0.4784, allocations: 1.021 MB / 0.6039 GB, free: 6.262 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04028/0.5187, allocations: 6.226 MB / 0.61 GB, free: 24 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01013/0.5289, allocations: 4.689 MB / 0.6146 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002958/0.5292, allocations: 361.3 kB / 0.6149 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001412/0.5306, allocations: 479.7 kB / 0.6154 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02638/0.557, allocations: 14.55 MB / 0.6296 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001803/0.5572, allocations: 67.45 kB / 0.6297 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006399/0.5579, allocations: 223.8 kB / 0.6299 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004987/0.5629, allocations: 2.746 MB / 0.6326 GB, free: 7.844 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0255/0.5884, allocations: 12.24 MB / 0.6445 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07468/0.6631, allocations: 57.67 MB / 0.7008 GB, free: 484 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01876/0.6819, allocations: 7.161 MB / 0.7078 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005231/0.6872, allocations: 3.772 MB / 0.7115 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2972/0.9844, allocations: 8.775 MB / 0.7201 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.9845, allocations: 63.75 kB / 0.7201 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 5.43e-06/0.9845, allocations: 2.062 kB / 0.7201 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.07196/1.056, allocations: 31.34 MB / 0.7507 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/1.057, allocations: 239.6 kB / 0.751 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007908/1.064, allocations: 6.676 MB / 0.7575 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006252/1.065, allocations: 69.67 kB / 0.7575 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002471/1.068, allocations: 4.594 MB / 0.762 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001448/1.069, allocations: 1.142 MB / 0.7631 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002125/1.071, allocations: 1.726 MB / 0.7648 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.625e-05/1.071, allocations: 309.1 kB / 0.7651 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003768/1.075, allocations: 3.393 MB / 0.7684 GB, free: 128 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005699/1.081, allocations: 8.375 MB / 0.7766 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/1.092, allocations: 12.78 MB / 0.7891 GB, free: 102 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000133/1.092, allocations: 52 kB / 0.7891 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.01958/1.112, allocations: 13.08 MB / 0.8019 GB, free: 88.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.369e-05/1.112, allocations: 80 kB / 0.802 GB, free: 88.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/1.112, allocations: 175.9 kB / 0.8022 GB, free: 88.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003829/1.116, allocations: 1.766 MB / 0.8039 GB, free: 86.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006122/1.122, allocations: 1.965 MB / 0.8058 GB, free: 84.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/1.134, allocations: 12.74 MB / 0.8183 GB, free: 71.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006203/1.141, allocations: 495.2 kB / 0.8187 GB, free: 71.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001226/1.142, allocations: 0.5038 MB / 0.8192 GB, free: 70.85 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1020): * Single equations (assignments): 1013 * 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 {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004374/1.146, allocations: 2.977 MB / 0.8221 GB, free: 67.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/1.147, allocations: 0.5975 MB / 0.8227 GB, free: 67.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009374/1.157, allocations: 6.483 MB / 0.829 GB, free: 60.76 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.816e-05/1.157, allocations: 35.94 kB / 0.8291 GB, free: 60.72 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/1.157, allocations: 8 kB / 0.8291 GB, free: 60.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.971e-05/1.157, allocations: 15.94 kB / 0.8291 GB, free: 60.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02002/1.177, allocations: 14.23 MB / 0.843 GB, free: 46.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/1.177, allocations: 8.094 kB / 0.843 GB, free: 46.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002168/1.179, allocations: 495.2 kB / 0.8435 GB, free: 45.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003668/1.183, allocations: 1.511 MB / 0.845 GB, free: 44.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000448/1.183, allocations: 55.98 kB / 0.845 GB, free: 44.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01217/1.195, allocations: 12.05 MB / 0.8568 GB, free: 32.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/1.196, allocations: 7.938 kB / 0.8568 GB, free: 32.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/1.208, allocations: 10.61 MB / 0.8671 GB, free: 21.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/1.21, allocations: 0.6571 MB / 0.8678 GB, free: 20.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008599/1.211, allocations: 52 kB / 0.8678 GB, free: 20.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002469/1.213, allocations: 187.7 kB / 0.868 GB, free: 20.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005353/1.214, allocations: 181.6 kB / 0.8682 GB, free: 20.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/1.214, allocations: 72 kB / 0.8683 GB, free: 20.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005257/1.219, allocations: 4.282 MB / 0.8724 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.21e-07/1.219, allocations: 0 / 0.8724 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007007/1.226, allocations: 1.534 MB / 0.8739 GB, free: 14.29 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (232): * Single equations (assignments): 227 * 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 {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01411/1.24, allocations: 11.29 MB / 0.885 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0129/1.253, allocations: 8.373 MB / 0.8931 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.253, allocations: 0 / 0.8931 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00599/1.259, allocations: 3.325 MB / 0.8964 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00547/1.265, allocations: 0.7462 MB / 0.8971 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3841/1.649, allocations: 75.86 MB / 0.9712 GB, free: 209 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004359/1.653, allocations: 4.543 MB / 0.9756 GB, free: 207.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005137/1.659, allocations: 2.79 MB / 0.9784 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003884/1.662, allocations: 2.938 MB / 0.9812 GB, free: 205 MB / 0.6387 GB Notification: Performance of SimCode: time 2.335e-06/1.663, allocations: 3.906 kB / 0.9812 GB, free: 205 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1856/1.848, allocations: 117 MB / 1.095 GB, free: 91.12 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.28/26.13, allocations: 3.375 kB / 1.095 GB, free: 91.12 MB / 0.6387 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches