Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_3_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.001265/0.001265, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.563/1.563, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008682/0.0008681, allocations: 94.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2228/0.2228, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002987, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1196, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4056/0.5253, allocations: 111.7 MB / 0.588 GB, free: 4.254 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.5256, allocations: 82.52 kB / 0.588 GB, free: 4.211 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2979/0.8235, allocations: 111.4 MB / 0.6968 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.156e-06/0.8236, allocations: 0 / 0.6968 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003827/0.824, allocations: 115.9 kB / 0.6969 GB, free: 12.48 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.02163/0.8456, allocations: 6.377 MB / 0.7031 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.8457, allocations: 8.031 kB / 0.7031 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005264/0.851, allocations: 0.9686 MB / 0.7041 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2933/1.144, allocations: 6.89 MB / 0.7108 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0226/1.167, allocations: 7.113 MB / 0.7178 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008074/1.168, allocations: 413.5 kB / 0.7181 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003441/1.171, allocations: 0.5378 MB / 0.7187 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03834/1.21, allocations: 14.14 MB / 0.7325 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000562/1.21, allocations: 75.44 kB / 0.7325 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002949/1.213, allocations: 262.3 kB / 0.7328 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00231/1.216, allocations: 1.357 MB / 0.7341 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02623/1.242, allocations: 11.73 MB / 0.7456 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0687/1.311, allocations: 60.74 MB / 0.8049 GB, free: 61.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01497/1.326, allocations: 5.831 MB / 0.8106 GB, free: 59.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02101/1.347, allocations: 14.73 MB / 0.825 GB, free: 51.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/1.347, allocations: 61.5 kB / 0.825 GB, free: 51.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=227): time 5.51e-06/1.347, allocations: 0 / 0.825 GB, free: 51.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=264): time 0.0804/1.427, allocations: 25.61 MB / 0.85 GB, free: 32.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001669/1.427, allocations: 265.2 kB / 0.8503 GB, free: 32.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/1.438, allocations: 4.463 MB / 0.8546 GB, free: 28.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007587/1.439, allocations: 61.7 kB / 0.8547 GB, free: 28.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003267/1.442, allocations: 3.99 MB / 0.8586 GB, free: 24.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001543/1.444, allocations: 0.9848 MB / 0.8596 GB, free: 24.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/1.445, allocations: 148 kB / 0.8597 GB, free: 23.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007386/1.446, allocations: 0.6155 MB / 0.8603 GB, free: 23.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004397/1.45, allocations: 2.578 MB / 0.8628 GB, free: 21.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006401/1.456, allocations: 6.909 MB / 0.8696 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006067/1.463, allocations: 4.127 MB / 0.8736 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001563/1.463, allocations: 44 kB / 0.8736 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.01853/1.481, allocations: 9.732 MB / 0.8831 GB, free: 324 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001879/1.482, allocations: 72.19 kB / 0.8832 GB, free: 252 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002748/1.482, allocations: 156 kB / 0.8834 GB, free: 96 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002328/1.484, allocations: 0.6459 MB / 0.884 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006996/1.491, allocations: 1.734 MB / 0.8857 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007795/1.499, allocations: 5.715 MB / 0.8913 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008503/1.508, allocations: 403.4 kB / 0.8917 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002159/1.51, allocations: 444 kB / 0.8921 GB, free: 7.91 MB / 0.5105 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.008515/1.518, allocations: 2.638 MB / 0.8947 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001752/1.52, allocations: 477.8 kB / 0.8951 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009594/1.53, allocations: 4.014 MB / 0.899 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.318e-05/1.53, allocations: 28 kB / 0.8991 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.746e-05/1.53, allocations: 4 kB / 0.8991 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.218e-05/1.53, allocations: 15.95 kB / 0.8991 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3334/1.863, allocations: 10.28 MB / 0.9091 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/1.863, allocations: 1.219 kB / 0.9091 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002635/1.866, allocations: 470.7 kB / 0.9096 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/1.867, allocations: 352.4 kB / 0.9099 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003936/1.868, allocations: 43.42 kB / 0.9099 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005922/1.874, allocations: 5.059 MB / 0.9149 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.874, allocations: 4.438 kB / 0.9149 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/1.887, allocations: 7.149 MB / 0.9219 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003288/1.89, allocations: 0.8261 MB / 0.9227 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001558/1.892, allocations: 39.19 kB / 0.9227 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00331/1.895, allocations: 158.6 kB / 0.9229 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006033/1.896, allocations: 146.5 kB / 0.923 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003029/1.896, allocations: 66.34 kB / 0.9231 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007705/1.904, allocations: 3.137 MB / 0.9261 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/1.904, allocations: 0 / 0.9261 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008473/1.912, allocations: 1.294 MB / 0.9274 GB, free: 105.6 MB / 0.5105 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.01123/1.924, allocations: 7.981 MB / 0.9352 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01064/1.934, allocations: 6.453 MB / 0.9415 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.934, allocations: 3.656 kB / 0.9415 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003548/1.938, allocations: 2.211 MB / 0.9436 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004406/1.942, allocations: 0.5599 MB / 0.9442 GB, free: 103 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1286/2.071, allocations: 151.6 MB / 1.092 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0106/2.082, allocations: 4.226 MB / 1.096 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008642/2.09, allocations: 2.393 MB / 1.099 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005831/2.096, allocations: 2.631 MB / 1.101 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of SimCode: time 2.394e-06/2.096, allocations: 0 / 1.101 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4539/2.55, allocations: 99.43 MB / 1.198 GB, free: 145.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/2.551, allocations: 206.3 kB / 1.199 GB, free: 144.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.703/8.253, allocations: 0 / 1.199 GB, free: 144.9 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithMass_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat