Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 221.3 MB / 236 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008307/0.0008308, allocations: 91.67 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2008/0.2008, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.383e-05/3.396e-05, allocations: 224 / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1372, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4655/0.6027, allocations: 113.5 MB / 0.6127 GB, free: 7.652 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.603, allocations: 74.84 kB / 0.6127 GB, free: 7.582 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6499/1.253, allocations: 112.9 MB / 0.723 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.904e-06/1.253, allocations: 0 / 0.723 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003898/1.253, allocations: 109.5 kB / 0.7231 GB, free: 114.5 MB / 0.5105 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.02372/1.277, allocations: 5.876 MB / 0.7288 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/1.277, allocations: 9.625 kB / 0.7288 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004183/1.281, allocations: 0.9751 MB / 0.7298 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0293/1.311, allocations: 6.899 MB / 0.7365 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01992/1.331, allocations: 6.768 MB / 0.7431 GB, free: 111 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004202/1.331, allocations: 411.5 kB / 0.7435 GB, free: 111 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002742/1.334, allocations: 0.5461 MB / 0.744 GB, free: 111 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03562/1.369, allocations: 14.02 MB / 0.7577 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005008/1.37, allocations: 73.09 kB / 0.7578 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003224/1.373, allocations: 262 kB / 0.758 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002085/1.375, allocations: 1.363 MB / 0.7594 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02426/1.4, allocations: 11.57 MB / 0.7707 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06721/1.467, allocations: 60.68 MB / 0.8299 GB, free: 62.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01664/1.484, allocations: 5.776 MB / 0.8356 GB, free: 57.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004713/1.488, allocations: 3.242 MB / 0.8387 GB, free: 54.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02334/1.512, allocations: 14.7 MB / 0.8531 GB, free: 41.22 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.919e-05/1.512, allocations: 60.5 kB / 0.8532 GB, free: 41.15 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 7.424e-06/1.512, allocations: 0 / 0.8532 GB, free: 41.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=264): time 0.07242/1.584, allocations: 21.77 MB / 0.8744 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/1.584, allocations: 261.3 kB / 0.8747 GB, free: 22.76 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01055/1.595, allocations: 4.395 MB / 0.879 GB, free: 18.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007494/1.596, allocations: 65.7 kB / 0.879 GB, free: 18.65 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00316/1.599, allocations: 3.979 MB / 0.8829 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00137/1.6, allocations: 0.9814 MB / 0.8839 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/1.601, allocations: 148 kB / 0.884 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006693/1.602, allocations: 0.62 MB / 0.8846 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004222/1.606, allocations: 2.521 MB / 0.8871 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00687/1.613, allocations: 6.857 MB / 0.8938 GB, free: 1.395 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007294/1.621, allocations: 4.113 MB / 0.8978 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001745/1.621, allocations: 40 kB / 0.8978 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.02275/1.644, allocations: 9.628 MB / 0.9072 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002391/1.644, allocations: 71.94 kB / 0.9073 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003097/1.644, allocations: 152 kB / 0.9074 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/1.646, allocations: 0.5894 MB / 0.908 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007023/1.653, allocations: 1.739 MB / 0.9097 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3976/2.051, allocations: 5.603 MB / 0.9152 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007178/2.058, allocations: 401.3 kB / 0.9156 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002033/2.06, allocations: 442.9 kB / 0.916 GB, free: 112.7 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.001597/2.062, allocations: 0.6797 MB / 0.9167 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001234/2.063, allocations: 473.7 kB / 0.9171 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008405/2.071, allocations: 3.972 MB / 0.921 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.657e-05/2.071, allocations: 33.62 kB / 0.921 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/2.072, allocations: 4.594 kB / 0.921 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.043e-05/2.072, allocations: 17.53 kB / 0.921 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02062/2.092, allocations: 10.23 MB / 0.931 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/2.092, allocations: 1.219 kB / 0.931 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002427/2.095, allocations: 473.4 kB / 0.9315 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/2.096, allocations: 342.8 kB / 0.9318 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002566/2.096, allocations: 45.97 kB / 0.9319 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004773/2.101, allocations: 4.958 MB / 0.9367 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/2.101, allocations: 0 / 0.9367 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008798/2.11, allocations: 7.076 MB / 0.9436 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/2.111, allocations: 0.4921 MB / 0.9441 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006296/2.112, allocations: 39.66 kB / 0.9441 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/2.114, allocations: 162.5 kB / 0.9443 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003184/2.114, allocations: 142.3 kB / 0.9444 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/2.114, allocations: 74.39 kB / 0.9445 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005078/2.119, allocations: 3.069 MB / 0.9475 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.52e-07/2.119, allocations: 3.609 kB / 0.9475 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007526/2.127, allocations: 1.294 MB / 0.9488 GB, free: 107.4 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.009726/2.137, allocations: 7.905 MB / 0.9565 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01063/2.147, allocations: 6.375 MB / 0.9627 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/2.147, allocations: 3.969 kB / 0.9627 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003303/2.151, allocations: 2.183 MB / 0.9648 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004449/2.155, allocations: 0.5735 MB / 0.9654 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03495/2.19, allocations: 11.88 MB / 0.977 GB, free: 96.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007606/2.198, allocations: 4.218 MB / 0.9811 GB, free: 94.97 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008458/2.206, allocations: 2.388 MB / 0.9834 GB, free: 94.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005581/2.212, allocations: 2.631 MB / 0.986 GB, free: 92.78 MB / 0.5261 GB Notification: Performance of SimCode: time 2.685e-06/2.212, allocations: 0 / 0.986 GB, free: 92.78 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1628/2.375, allocations: 99.37 MB / 1.083 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/2.375, allocations: 172.6 kB / 1.083 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.783/8.158, allocations: 0 / 1.083 GB, free: 16.48 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithMass_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat