Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.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.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force",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.001753/0.001753, allocations: 183.2 kB / 13.19 MB, free: 2.129 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.75/1.75, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001242/0.001242, allocations: 98.53 kB / 267.1 MB, free: 9.273 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.486/0.486, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.688e-05/4.712e-05, allocations: 3.984 kB / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1732, allocations: 58.84 MB / 484.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5089/0.6822, allocations: 107.6 MB / 0.5779 GB, free: 14.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.6825, allocations: 76.03 kB / 0.578 GB, free: 14.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7096/1.392, allocations: 129.5 MB / 0.7045 GB, free: 80.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.116e-06/1.392, allocations: 0 / 0.7045 GB, free: 80.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004682/1.393, allocations: 128.3 kB / 0.7046 GB, free: 80.34 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.02501/1.418, allocations: 6.567 MB / 0.711 GB, free: 77.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/1.418, allocations: 9.531 kB / 0.711 GB, free: 77.91 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004907/1.423, allocations: 1.159 MB / 0.7121 GB, free: 77.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02952/1.452, allocations: 7.114 MB / 0.7191 GB, free: 77.36 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02306/1.475, allocations: 7.401 MB / 0.7263 GB, free: 76.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007855/1.476, allocations: 496.5 kB / 0.7268 GB, free: 76.49 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004182/1.48, allocations: 0.6443 MB / 0.7274 GB, free: 76.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04743/1.528, allocations: 16.19 MB / 0.7432 GB, free: 72.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008705/1.529, allocations: 89.3 kB / 0.7433 GB, free: 72.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004362/1.533, allocations: 320.6 kB / 0.7436 GB, free: 72.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004045/1.537, allocations: 1.542 MB / 0.7451 GB, free: 72.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0357/1.573, allocations: 13.16 MB / 0.758 GB, free: 72.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1001/1.673, allocations: 72.61 MB / 0.8289 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01901/1.692, allocations: 7.433 MB / 0.8361 GB, free: 33.92 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005885/1.698, allocations: 3.813 MB / 0.8399 GB, free: 32.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02193/1.72, allocations: 9.676 MB / 0.8493 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.796e-05/1.72, allocations: 55.25 kB / 0.8494 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=273): time 7.764e-06/1.72, allocations: 0 / 0.8494 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=315): time 0.08045/1.801, allocations: 27.66 MB / 0.8764 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/1.801, allocations: 243.9 kB / 0.8766 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01448/1.815, allocations: 6.032 MB / 0.8825 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001013/1.816, allocations: 77.53 kB / 0.8826 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.3563/2.173, allocations: 4.701 MB / 0.8872 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002368/2.175, allocations: 1.189 MB / 0.8883 GB, free: 89.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/2.176, allocations: 179.4 kB / 0.8885 GB, free: 89.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007562/2.177, allocations: 0.6844 MB / 0.8892 GB, free: 89.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007902/2.185, allocations: 3.484 MB / 0.8926 GB, free: 89.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01169/2.197, allocations: 8.622 MB / 0.901 GB, free: 82.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01145/2.208, allocations: 5.434 MB / 0.9063 GB, free: 82.78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004549/2.209, allocations: 51.34 kB / 0.9063 GB, free: 82.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.03278/2.242, allocations: 13.38 MB / 0.9194 GB, free: 81.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001892/2.242, allocations: 88.03 kB / 0.9195 GB, free: 81.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003023/2.242, allocations: 181.9 kB / 0.9197 GB, free: 81.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004743/2.247, allocations: 1.678 MB / 0.9213 GB, free: 81.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009407/2.256, allocations: 2.113 MB / 0.9234 GB, free: 81.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01489/2.271, allocations: 11.21 MB / 0.9343 GB, free: 78.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01103/2.282, allocations: 0.5257 MB / 0.9348 GB, free: 78.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002818/2.285, allocations: 0.5276 MB / 0.9354 GB, free: 78.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 827 * Number of states: 0 () * Number of discrete variables: 63 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1087): * Single equations (assignments): 1082 * 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 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003939/2.289, allocations: 0.787 MB / 0.9361 GB, free: 78.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001779/2.291, allocations: 0.5896 MB / 0.9367 GB, free: 78.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/2.306, allocations: 6.734 MB / 0.9433 GB, free: 77.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.533e-05/2.306, allocations: 35.02 kB / 0.9433 GB, free: 77.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.752e-05/2.306, allocations: 12.34 kB / 0.9433 GB, free: 77.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.733e-05/2.306, allocations: 21.67 kB / 0.9433 GB, free: 77.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03876/2.345, allocations: 15.14 MB / 0.9581 GB, free: 72.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.275e-05/2.345, allocations: 3.219 kB / 0.9581 GB, free: 72.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003306/2.348, allocations: 0.5955 MB / 0.9587 GB, free: 72.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0036/2.352, allocations: 1.396 MB / 0.9601 GB, free: 71.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007554/2.352, allocations: 53.53 kB / 0.9601 GB, free: 71.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01301/2.365, allocations: 10.42 MB / 0.9703 GB, free: 66.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/2.365, allocations: 9.156 kB / 0.9703 GB, free: 66.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01842/2.384, allocations: 11.82 MB / 0.9818 GB, free: 60.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003858/2.388, allocations: 1.156 MB / 0.983 GB, free: 60.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002289/2.39, allocations: 58.56 kB / 0.983 GB, free: 60.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004038/2.394, allocations: 213.5 kB / 0.9832 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008883/2.395, allocations: 199 kB / 0.9834 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004984/2.396, allocations: 84.58 kB / 0.9835 GB, free: 60.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0105/2.406, allocations: 4.306 MB / 0.9877 GB, free: 58.63 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.623e-06/2.406, allocations: 0 / 0.9877 GB, free: 58.63 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01249/2.419, allocations: 1.635 MB / 0.9893 GB, free: 58.45 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 255 * 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 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0193/2.438, allocations: 13.2 MB / 1.002 GB, free: 51.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01584/2.454, allocations: 8.634 MB / 1.011 GB, free: 47.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/2.454, allocations: 0 / 1.011 GB, free: 47.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006767/2.461, allocations: 3.41 MB / 1.014 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005096/2.466, allocations: 0.7045 MB / 1.015 GB, free: 43.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0422/2.508, allocations: 15.22 MB / 1.03 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009211/2.517, allocations: 4.935 MB / 1.034 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00935/2.527, allocations: 2.959 MB / 1.037 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006621/2.533, allocations: 3.165 MB / 1.04 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of SimCode: time 2.174e-06/2.533, allocations: 0 / 1.04 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4717/3.005, allocations: 130.9 MB / 1.168 GB, free: 75.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/3.005, allocations: 163.4 kB / 1.168 GB, free: 75.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.319/10.32, allocations: 2.188 kB / 1.168 GB, free: 75.54 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat