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.001213/0.001213, allocations: 114 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2369/0.2369, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 75.72 kB / 417.2 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1401, allocations: 62.45 MB / 479.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.3536/0.4938, allocations: 81.44 MB / 0.5479 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04008/0.534, allocations: 15.54 MB / 0.5631 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02145/0.5554, allocations: 357.6 kB / 0.5634 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009514/0.565, allocations: 4.832 MB / 0.5681 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007326/0.5724, allocations: 2.304 MB / 0.5704 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.5753, allocations: 1.041 MB / 0.5714 GB, free: 9.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01105/0.5863, allocations: 7.298 MB / 0.5785 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009128/0.5955, allocations: 6.081 MB / 0.5845 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004567/0.6001, allocations: 2.445 MB / 0.5868 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00538/0.6055, allocations: 3.591 MB / 0.5904 GB, free: 5.695 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001798/0.6073, allocations: 0.5039 MB / 0.5908 GB, free: 5.191 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00411/0.6115, allocations: 1.405 MB / 0.5922 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004778/0.6163, allocations: 3.02 MB / 0.5952 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006684/0.623, allocations: 3.441 MB / 0.5985 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0134/0.6364, allocations: 10.26 MB / 0.6085 GB, free: 3.004 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.6364, allocations: 4 kB / 0.6086 GB, free: 3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6364, allocations: 0 / 0.6086 GB, free: 3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004647/0.6369, allocations: 0 / 0.6086 GB, free: 3 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.02235/0.6593, allocations: 7.588 MB / 0.616 GB, free: 11.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.6593, allocations: 8.031 kB / 0.616 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002956/0.6623, allocations: 1.021 MB / 0.617 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0387/0.701, allocations: 6.19 MB / 0.623 GB, free: 4.078 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/0.7129, allocations: 4.593 MB / 0.6275 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004466/0.7134, allocations: 349.5 kB / 0.6278 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002601/0.716, allocations: 483.6 kB / 0.6283 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03204/0.7481, allocations: 14.55 MB / 0.6425 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003201/0.7485, allocations: 71.36 kB / 0.6426 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001745/0.7502, allocations: 227.8 kB / 0.6428 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005232/0.7555, allocations: 2.742 MB / 0.6455 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02729/0.7828, allocations: 12.24 MB / 0.6574 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07859/0.8614, allocations: 57.8 MB / 0.7139 GB, free: 4.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2705/1.132, allocations: 7.149 MB / 0.7208 GB, free: 196.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004732/1.137, allocations: 3.772 MB / 0.7245 GB, free: 195.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01342/1.15, allocations: 8.75 MB / 0.7331 GB, free: 191.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/1.15, allocations: 64.22 kB / 0.7331 GB, free: 191.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=246): time 5.33e-06/1.15, allocations: 0 / 0.7331 GB, free: 191.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=288): time 0.07393/1.224, allocations: 30.94 MB / 0.7633 GB, free: 175.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/1.224, allocations: 241.8 kB / 0.7636 GB, free: 175.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007943/1.232, allocations: 6.668 MB / 0.7701 GB, free: 168.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007768/1.233, allocations: 65.7 kB / 0.7702 GB, free: 168.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002322/1.235, allocations: 4.424 MB / 0.7745 GB, free: 164.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00123/1.237, allocations: 1.098 MB / 0.7755 GB, free: 163.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00186/1.239, allocations: 1.708 MB / 0.7772 GB, free: 161.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.808e-05/1.239, allocations: 309.1 kB / 0.7775 GB, free: 161.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003768/1.242, allocations: 3.401 MB / 0.7808 GB, free: 157.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005699/1.248, allocations: 8.38 MB / 0.789 GB, free: 147 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01067/1.259, allocations: 12.77 MB / 0.8015 GB, free: 131.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/1.259, allocations: 48 kB / 0.8015 GB, free: 131.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.01994/1.279, allocations: 13.06 MB / 0.8143 GB, free: 118.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.279, allocations: 80.22 kB / 0.8144 GB, free: 118.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001636/1.279, allocations: 176 kB / 0.8145 GB, free: 118.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003837/1.283, allocations: 1.758 MB / 0.8162 GB, free: 116.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006343/1.289, allocations: 1.969 MB / 0.8182 GB, free: 114.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/1.302, allocations: 12.76 MB / 0.8306 GB, free: 101.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008272/1.311, allocations: 487.2 kB / 0.8311 GB, free: 101.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002136/1.313, allocations: 0.5039 MB / 0.8316 GB, free: 100.7 MB / 0.545 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.005572/1.319, allocations: 2.977 MB / 0.8345 GB, free: 97.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/1.32, allocations: 0.5592 MB / 0.835 GB, free: 97.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009655/1.329, allocations: 6.487 MB / 0.8414 GB, free: 90.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.573e-05/1.329, allocations: 39.66 kB / 0.8414 GB, free: 90.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.036e-05/1.329, allocations: 12 kB / 0.8414 GB, free: 90.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.711e-05/1.33, allocations: 15.95 kB / 0.8414 GB, free: 90.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0221/1.352, allocations: 14.43 MB / 0.8555 GB, free: 76.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/1.352, allocations: 8.031 kB / 0.8555 GB, free: 76.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002243/1.354, allocations: 491.2 kB / 0.856 GB, free: 75.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003431/1.357, allocations: 1.519 MB / 0.8575 GB, free: 74.06 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003556/1.358, allocations: 52 kB / 0.8575 GB, free: 74.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0123/1.37, allocations: 11.96 MB / 0.8692 GB, free: 61.78 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.37, allocations: 7.938 kB / 0.8692 GB, free: 61.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/1.383, allocations: 10.55 MB / 0.8795 GB, free: 51.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/1.385, allocations: 0.634 MB / 0.8801 GB, free: 50.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001365/1.387, allocations: 51.98 kB / 0.8802 GB, free: 50.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002782/1.389, allocations: 183.8 kB / 0.8804 GB, free: 50.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006087/1.39, allocations: 181.8 kB / 0.8805 GB, free: 50 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/1.39, allocations: 76 kB / 0.8806 GB, free: 49.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005818/1.396, allocations: 4.278 MB / 0.8848 GB, free: 45.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.61e-07/1.396, allocations: 0 / 0.8848 GB, free: 45.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007313/1.403, allocations: 1.526 MB / 0.8863 GB, free: 44.14 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.0135/1.417, allocations: 11.24 MB / 0.8973 GB, free: 32.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01456/1.432, allocations: 10.07 MB / 0.9071 GB, free: 22.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.432, allocations: 7.938 kB / 0.9071 GB, free: 22.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005624/1.437, allocations: 3.301 MB / 0.9103 GB, free: 19.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006225/1.444, allocations: 0.7669 MB / 0.9111 GB, free: 18.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3543/1.798, allocations: 96.7 MB / 1.006 GB, free: 109.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004901/1.803, allocations: 4.537 MB / 1.01 GB, free: 104.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006837/1.81, allocations: 2.797 MB / 1.013 GB, free: 101.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004047/1.814, allocations: 2.936 MB / 1.016 GB, free: 98.96 MB / 0.545 GB Notification: Performance of SimCode: time 1.683e-06/1.814, allocations: 0 / 1.016 GB, free: 98.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4302/2.244, allocations: 122.5 MB / 1.135 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/2.244, allocations: 204.1 kB / 1.135 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.826/8.07, allocations: 0 / 1.135 GB, free: 178.1 MB / 0.5606 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