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.0009493/0.0009491, allocations: 92.83 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.00131/0.00131, allocations: 204.5 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.405/1.405, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2219/0.2219, allocations: 46.19 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003469, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1374, allocations: 63.55 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.2974/0.4349, allocations: 79.49 MB / 0.5495 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0366/0.4715, allocations: 15.59 MB / 0.5647 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0154/0.4869, allocations: 356.7 kB / 0.565 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003199/0.4902, allocations: 0.5964 MB / 0.5656 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007305/0.4975, allocations: 2.342 MB / 0.5679 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.5001, allocations: 0.9007 MB / 0.5688 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01346/0.5135, allocations: 10.04 MB / 0.5786 GB, free: 4.859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01221/0.5258, allocations: 8.058 MB / 0.5865 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003441/0.5293, allocations: 1.747 MB / 0.5882 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004702/0.534, allocations: 2.962 MB / 0.5911 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001303/0.5353, allocations: 208 kB / 0.5913 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003217/0.5386, allocations: 1.162 MB / 0.5924 GB, free: 6.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00337/0.542, allocations: 2.645 MB / 0.595 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005044/0.547, allocations: 2.994 MB / 0.5979 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.5583, allocations: 9.774 MB / 0.6074 GB, free: 7.113 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.5584, allocations: 0 / 0.6074 GB, free: 7.113 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5584, allocations: 0 / 0.6074 GB, free: 7.113 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003684/0.5588, allocations: 0 / 0.6074 GB, free: 7.113 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.01618/0.5749, allocations: 6.257 MB / 0.6135 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.575, allocations: 16.88 kB / 0.6136 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002718/0.5777, allocations: 1.025 MB / 0.6146 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04055/0.6183, allocations: 6.284 MB / 0.6207 GB, free: 9.422 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/0.63, allocations: 4.574 MB / 0.6252 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004063/0.6304, allocations: 361.5 kB / 0.6255 GB, free: 4.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002148/0.6326, allocations: 487.5 kB / 0.626 GB, free: 3.934 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03153/0.6641, allocations: 14.57 MB / 0.6402 GB, free: 4.359 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003109/0.6645, allocations: 71.36 kB / 0.6403 GB, free: 4.289 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001391/0.6659, allocations: 223.8 kB / 0.6405 GB, free: 4.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004968/0.6709, allocations: 2.738 MB / 0.6432 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02678/0.6977, allocations: 12.27 MB / 0.6551 GB, free: 5.031 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.315/1.013, allocations: 57.84 MB / 0.7116 GB, free: 145 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01861/1.031, allocations: 7.177 MB / 0.7186 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00452/1.036, allocations: 3.763 MB / 0.7223 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01328/1.049, allocations: 8.763 MB / 0.7309 GB, free: 140.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/1.049, allocations: 56.03 kB / 0.7309 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=246): time 5.29e-06/1.049, allocations: 3.844 kB / 0.7309 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=288): time 0.07739/1.127, allocations: 30.93 MB / 0.7611 GB, free: 122.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.081e-05/1.127, allocations: 243.2 kB / 0.7614 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009865/1.137, allocations: 6.656 MB / 0.7679 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005748/1.137, allocations: 70.95 kB / 0.7679 GB, free: 115.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002316/1.14, allocations: 4.436 MB / 0.7723 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001373/1.141, allocations: 1.089 MB / 0.7733 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001478/1.143, allocations: 0.717 MB / 0.774 GB, free: 109 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.886e-05/1.143, allocations: 309.1 kB / 0.7743 GB, free: 108.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004921/1.148, allocations: 3.393 MB / 0.7776 GB, free: 105.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006676/1.154, allocations: 8.384 MB / 0.7858 GB, free: 94.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01249/1.167, allocations: 12.77 MB / 0.7983 GB, free: 79.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001792/1.167, allocations: 48 kB / 0.7983 GB, free: 79.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.02204/1.189, allocations: 13.06 MB / 0.8111 GB, free: 66.62 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001683/1.189, allocations: 80 kB / 0.8112 GB, free: 66.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002112/1.19, allocations: 172 kB / 0.8113 GB, free: 66.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004069/1.194, allocations: 1.766 MB / 0.8131 GB, free: 64.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005854/1.199, allocations: 1.965 MB / 0.815 GB, free: 62.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01206/1.212, allocations: 11.87 MB / 0.8266 GB, free: 50.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00621/1.218, allocations: 491.2 kB / 0.827 GB, free: 50.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/1.219, allocations: 0.4972 MB / 0.8275 GB, free: 49.52 MB / 0.5294 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.004432/1.224, allocations: 2.985 MB / 0.8304 GB, free: 46.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/1.225, allocations: 0.5591 MB / 0.831 GB, free: 45.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/1.235, allocations: 6.495 MB / 0.8373 GB, free: 39.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.191e-05/1.235, allocations: 32.8 kB / 0.8374 GB, free: 39.41 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/1.235, allocations: 12 kB / 0.8374 GB, free: 39.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.153e-05/1.235, allocations: 15.89 kB / 0.8374 GB, free: 39.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0214/1.256, allocations: 14.43 MB / 0.8515 GB, free: 24.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/1.256, allocations: 4 kB / 0.8515 GB, free: 24.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002124/1.258, allocations: 491.2 kB / 0.852 GB, free: 24.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003484/1.262, allocations: 1.519 MB / 0.8534 GB, free: 22.89 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002653/1.262, allocations: 57.23 kB / 0.8535 GB, free: 22.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/1.274, allocations: 11.09 MB / 0.8643 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.274, allocations: 6.062 kB / 0.8643 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/1.288, allocations: 10.56 MB / 0.8746 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/1.29, allocations: 0.6458 MB / 0.8753 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001777/1.291, allocations: 51.98 kB / 0.8753 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003398/1.295, allocations: 191.8 kB / 0.8755 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007253/1.296, allocations: 181.6 kB / 0.8757 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000349/1.296, allocations: 76.62 kB / 0.8757 GB, free: 15.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008991/1.305, allocations: 4.278 MB / 0.8799 GB, free: 11.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/1.305, allocations: 4 kB / 0.8799 GB, free: 11.35 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008135/1.313, allocations: 1.528 MB / 0.8814 GB, free: 9.828 MB / 0.545 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.01916/1.332, allocations: 11.23 MB / 0.8924 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01396/1.346, allocations: 8.324 MB / 0.9005 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.346, allocations: 0 / 0.9005 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006442/1.353, allocations: 3.304 MB / 0.9037 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009783/1.363, allocations: 0.7327 MB / 0.9045 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3558/1.718, allocations: 96.86 MB / 0.999 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004708/1.723, allocations: 4.535 MB / 1.003 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006529/1.73, allocations: 2.793 MB / 1.006 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003556/1.733, allocations: 2.937 MB / 1.009 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of SimCode: time 8.21e-07/1.733, allocations: 0 / 1.009 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1361/1.869, allocations: 118.3 MB / 1.125 GB, free: 22.56 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/1.87, allocations: 224.8 kB / 1.125 GB, free: 22.29 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.321/7.19, allocations: 0 / 1.125 GB, free: 22.29 MB / 0.5762 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