Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_LineForceWithMass",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.001685/0.00169, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001148/0.001148, allocations: 87.56 kB / 270.9 MB, free: 8.371 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.5991/0.5991, allocations: 43.55 MB / 362.7 MB, free: 52.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006384/0.000638, allocations: 11.98 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.145, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5178/0.6629, allocations: 111.7 MB / 0.5879 GB, free: 6.895 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.6633, allocations: 79.95 kB / 0.588 GB, free: 6.816 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8497/1.513, allocations: 111.4 MB / 0.6968 GB, free: 88.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.497e-06/1.513, allocations: 0 / 0.6968 GB, free: 88.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004341/1.513, allocations: 113.7 kB / 0.6969 GB, free: 88.36 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.02922/1.543, allocations: 6.369 MB / 0.7031 GB, free: 85.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/1.543, allocations: 12.88 kB / 0.7031 GB, free: 85.89 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005451/1.548, allocations: 0.978 MB / 0.704 GB, free: 85.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05184/1.6, allocations: 6.887 MB / 0.7108 GB, free: 85.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02918/1.629, allocations: 7.123 MB / 0.7177 GB, free: 84.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007716/1.63, allocations: 413 kB / 0.7181 GB, free: 84.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003631/1.634, allocations: 0.536 MB / 0.7186 GB, free: 84.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04863/1.683, allocations: 14.13 MB / 0.7324 GB, free: 80.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005082/1.683, allocations: 79.11 kB / 0.7325 GB, free: 80.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003143/1.686, allocations: 261.4 kB / 0.7328 GB, free: 80.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003092/1.689, allocations: 1.366 MB / 0.7341 GB, free: 80.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03935/1.729, allocations: 11.73 MB / 0.7456 GB, free: 76.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09433/1.823, allocations: 60.73 MB / 0.8049 GB, free: 32.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02743/1.851, allocations: 5.809 MB / 0.8105 GB, free: 29.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03199/1.883, allocations: 14.76 MB / 0.825 GB, free: 16.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/1.883, allocations: 59.7 kB / 0.825 GB, free: 16.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=227): time 6.753e-06/1.883, allocations: 0 / 0.825 GB, free: 16.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=264): time 0.1568/2.04, allocations: 25.6 MB / 0.85 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001798/2.04, allocations: 261.3 kB / 0.8503 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01354/2.053, allocations: 4.476 MB / 0.8546 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007261/2.054, allocations: 65.7 kB / 0.8547 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.3749/2.429, allocations: 3.819 MB / 0.8584 GB, free: 99.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00176/2.431, allocations: 0.9881 MB / 0.8594 GB, free: 99.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/2.432, allocations: 147.6 kB / 0.8595 GB, free: 99.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007278/2.433, allocations: 0.6214 MB / 0.8601 GB, free: 99.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008011/2.441, allocations: 2.575 MB / 0.8626 GB, free: 99.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01111/2.452, allocations: 6.911 MB / 0.8694 GB, free: 93.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/2.462, allocations: 4.123 MB / 0.8734 GB, free: 93.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002898/2.463, allocations: 44.69 kB / 0.8735 GB, free: 93.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.0264/2.489, allocations: 9.545 MB / 0.8828 GB, free: 92.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001628/2.489, allocations: 73.28 kB / 0.8829 GB, free: 92.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002729/2.49, allocations: 152.1 kB / 0.883 GB, free: 92.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/2.492, allocations: 0.587 MB / 0.8836 GB, free: 92.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01136/2.503, allocations: 1.736 MB / 0.8853 GB, free: 92.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00958/2.513, allocations: 5.725 MB / 0.8909 GB, free: 89.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008582/2.522, allocations: 398.6 kB / 0.8912 GB, free: 89.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001959/2.524, allocations: 440.3 kB / 0.8917 GB, free: 89.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (916): * Single equations (assignments): 911 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008168/2.532, allocations: 2.635 MB / 0.8942 GB, free: 89.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/2.533, allocations: 481.9 kB / 0.8947 GB, free: 89.17 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/2.546, allocations: 4.015 MB / 0.8986 GB, free: 88.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.546e-05/2.546, allocations: 27.81 kB / 0.8986 GB, free: 88.03 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.548e-05/2.546, allocations: 9.266 kB / 0.8987 GB, free: 88.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.015e-05/2.546, allocations: 14.72 kB / 0.8987 GB, free: 88.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03556/2.582, allocations: 10.29 MB / 0.9087 GB, free: 84.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.034e-05/2.582, allocations: 5.203 kB / 0.9087 GB, free: 84.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004765/2.587, allocations: 470.6 kB / 0.9092 GB, free: 84.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001901/2.589, allocations: 347.1 kB / 0.9095 GB, free: 84.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006407/2.589, allocations: 44.16 kB / 0.9095 GB, free: 84.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008281/2.597, allocations: 5.07 MB / 0.9145 GB, free: 80.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/2.598, allocations: 3.953 kB / 0.9145 GB, free: 80.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/2.615, allocations: 7.147 MB / 0.9215 GB, free: 77.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003393/2.618, allocations: 0.8259 MB / 0.9223 GB, free: 76.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001554/2.62, allocations: 43.23 kB / 0.9223 GB, free: 76.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004749/2.624, allocations: 157.7 kB / 0.9225 GB, free: 76.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009924/2.625, allocations: 141.7 kB / 0.9226 GB, free: 76.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000299/2.626, allocations: 68.55 kB / 0.9227 GB, free: 76.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008773/2.634, allocations: 3.142 MB / 0.9257 GB, free: 75.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.103e-06/2.635, allocations: 0 / 0.9257 GB, free: 75.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009472/2.644, allocations: 1.29 MB / 0.927 GB, free: 75.42 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (224): * Single equations (assignments): 219 * 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.01777/2.662, allocations: 7.972 MB / 0.9348 GB, free: 71.56 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0151/2.677, allocations: 6.472 MB / 0.9411 GB, free: 69.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/2.677, allocations: 0 / 0.9411 GB, free: 69.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006017/2.683, allocations: 2.212 MB / 0.9433 GB, free: 68.22 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005053/2.688, allocations: 0.5628 MB / 0.9438 GB, free: 67.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5117/3.2, allocations: 152.2 MB / 1.092 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01055/3.211, allocations: 4.224 MB / 1.097 GB, free: 113.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007169/3.218, allocations: 2.689 MB / 1.099 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.473e-06/3.218, allocations: 0 / 1.099 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.012/8.23, allocations: 152.5 MB / 1.248 GB, free: 17.76 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_LineForceWithMass_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat