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.002881/0.002881, allocations: 183.9 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.827/1.827, 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.0008666/0.0008668, allocations: 86.61 kB / 267 MB, free: 9.27 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.5405/0.5405, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.077e-05/4.08e-05, allocations: 4 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1512, allocations: 58.84 MB / 484.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4997/0.651, allocations: 111.6 MB / 0.5819 GB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.6512, allocations: 80.73 kB / 0.582 GB, free: 10.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3124/0.9636, allocations: 111.4 MB / 0.6908 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.856e-06/0.9637, allocations: 0 / 0.6908 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003932/0.9641, allocations: 119.9 kB / 0.6909 GB, free: 3.238 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.3408/1.305, allocations: 5.873 MB / 0.6967 GB, free: 85.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/1.305, allocations: 10.25 kB / 0.6967 GB, free: 85.99 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003702/1.309, allocations: 0.9722 MB / 0.6976 GB, free: 85.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02771/1.336, allocations: 6.901 MB / 0.7044 GB, free: 85.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01999/1.356, allocations: 7.089 MB / 0.7113 GB, free: 85.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000464/1.357, allocations: 416.1 kB / 0.7117 GB, free: 85.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00321/1.36, allocations: 0.5403 MB / 0.7122 GB, free: 85.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03302/1.393, allocations: 14.03 MB / 0.7259 GB, free: 82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004761/1.394, allocations: 68.81 kB / 0.726 GB, free: 81.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002336/1.396, allocations: 259.3 kB / 0.7262 GB, free: 81.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002176/1.398, allocations: 1.371 MB / 0.7276 GB, free: 81.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0276/1.426, allocations: 11.56 MB / 0.7389 GB, free: 81.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07092/1.497, allocations: 60.74 MB / 0.7982 GB, free: 40.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01645/1.513, allocations: 5.781 MB / 0.8038 GB, free: 38.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003989/1.517, allocations: 3.245 MB / 0.807 GB, free: 36.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02006/1.538, allocations: 14.72 MB / 0.8214 GB, free: 28.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/1.538, allocations: 56 kB / 0.8214 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=227): time 5.27e-06/1.538, allocations: 7.375 kB / 0.8214 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=264): time 0.06345/1.601, allocations: 21.88 MB / 0.8428 GB, free: 19.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.932e-05/1.601, allocations: 261.1 kB / 0.843 GB, free: 19.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007133/1.608, allocations: 4.419 MB / 0.8473 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006732/1.609, allocations: 65.7 kB / 0.8474 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002398/1.612, allocations: 3.977 MB / 0.8513 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001178/1.613, allocations: 0.9925 MB / 0.8523 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000364/1.613, allocations: 152 kB / 0.8524 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003296/1.613, allocations: 0.613 MB / 0.853 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003524/1.617, allocations: 2.522 MB / 0.8555 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006159/1.623, allocations: 6.859 MB / 0.8622 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007553/1.631, allocations: 4.121 MB / 0.8662 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/1.631, allocations: 47.95 kB / 0.8662 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.02349/1.654, allocations: 9.609 MB / 0.8756 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001391/1.655, allocations: 72.94 kB / 0.8757 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002558/1.655, allocations: 156 kB / 0.8758 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/1.656, allocations: 0.5908 MB / 0.8764 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00661/1.663, allocations: 1.739 MB / 0.8781 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007071/1.67, allocations: 5.64 MB / 0.8836 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006918/1.677, allocations: 411 kB / 0.884 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002096/1.679, allocations: 438.2 kB / 0.8844 GB, free: 11.23 MB / 0.5261 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 () * 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.001856/1.681, allocations: 0.677 MB / 0.8851 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001553/1.683, allocations: 473.2 kB / 0.8855 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007742/1.69, allocations: 3.977 MB / 0.8894 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.005e-05/1.69, allocations: 28 kB / 0.8895 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/1.69, allocations: 4 kB / 0.8895 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.581e-05/1.69, allocations: 21.27 kB / 0.8895 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3921/2.083, allocations: 10.25 MB / 0.8995 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.38e-05/2.083, allocations: 4.047 kB / 0.8995 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002558/2.085, allocations: 469 kB / 0.8999 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/2.086, allocations: 343.7 kB / 0.9003 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002274/2.087, allocations: 45.95 kB / 0.9003 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005753/2.092, allocations: 4.952 MB / 0.9052 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/2.092, allocations: 1.062 kB / 0.9052 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/2.103, allocations: 7.085 MB / 0.9121 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002571/2.106, allocations: 0.8292 MB / 0.9129 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007106/2.106, allocations: 41 kB / 0.9129 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002013/2.108, allocations: 162.2 kB / 0.9131 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000388/2.109, allocations: 142.3 kB / 0.9132 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/2.109, allocations: 72.11 kB / 0.9133 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005562/2.115, allocations: 3.091 MB / 0.9163 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.71e-07/2.115, allocations: 0 / 0.9163 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008183/2.123, allocations: 1.298 MB / 0.9176 GB, free: 102.3 MB / 0.5261 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 () * 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.01046/2.133, allocations: 7.915 MB / 0.9253 GB, free: 101 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01135/2.145, allocations: 6.369 MB / 0.9315 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/2.145, allocations: 0 / 0.9315 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003771/2.149, allocations: 2.179 MB / 0.9336 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/2.152, allocations: 0.5598 MB / 0.9342 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03005/2.182, allocations: 11.91 MB / 0.9458 GB, free: 98.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005614/2.188, allocations: 4.233 MB / 0.95 GB, free: 97.63 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006709/2.195, allocations: 2.396 MB / 0.9523 GB, free: 97.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004011/2.199, allocations: 2.631 MB / 0.9549 GB, free: 95.63 MB / 0.5261 GB Notification: Performance of SimCode: time 1.223e-06/2.199, allocations: 0 / 0.9549 GB, free: 95.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1652/2.364, allocations: 99.58 MB / 1.052 GB, free: 47.37 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/2.364, allocations: 174.6 kB / 1.052 GB, free: 47.15 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.939/8.303, allocations: 8 kB / 1.052 GB, free: 47.14 MB / 0.5261 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