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.001025/0.001025, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008671/0.000867, allocations: 86.14 kB / 261.7 MB, free: 1.684 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.2145/0.2145, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.929e-05/1.944e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1131, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4483/0.5614, allocations: 111 MB / 0.5744 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.5618, allocations: 81.89 kB / 0.5745 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2781/0.8398, allocations: 109 MB / 0.6809 GB, free: 11.58 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.8399, allocations: 0 / 0.6809 GB, free: 11.58 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003341/0.8402, allocations: 115.9 kB / 0.681 GB, free: 11.46 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.02236/0.8626, allocations: 5.881 MB / 0.6868 GB, free: 5.512 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.8626, allocations: 8.031 kB / 0.6868 GB, free: 5.504 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02877/0.8914, allocations: 6.903 MB / 0.6935 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02017/0.9117, allocations: 7.075 MB / 0.7004 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003232/0.912, allocations: 176 kB / 0.7006 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00319/0.9152, allocations: 327.8 kB / 0.7009 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3337/1.249, allocations: 8.106 MB / 0.7088 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03123/1.28, allocations: 12.05 MB / 0.7206 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002979/1.281, allocations: 75.91 kB / 0.7207 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008639/1.281, allocations: 35.55 kB / 0.7207 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002289/1.284, allocations: 1.361 MB / 0.722 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06479/1.349, allocations: 60.68 MB / 0.7813 GB, free: 70.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004964/1.354, allocations: 4.364 MB / 0.7856 GB, free: 68.72 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003294/1.357, allocations: 3.051 MB / 0.7885 GB, free: 67.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01546/1.372, allocations: 12.38 MB / 0.8006 GB, free: 61.01 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/1.372, allocations: 53.59 kB / 0.8007 GB, free: 60.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=227): time 5.36e-06/1.372, allocations: 3.938 kB / 0.8007 GB, free: 60.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.05052/1.423, allocations: 24.82 MB / 0.8249 GB, free: 51.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.741e-05/1.423, allocations: 265.9 kB / 0.8252 GB, free: 51.42 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004921/1.428, allocations: 3.873 MB / 0.829 GB, free: 50.03 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000457/1.429, allocations: 25.7 kB / 0.829 GB, free: 50 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001906/1.43, allocations: 4.034 MB / 0.8329 GB, free: 46.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009312/1.431, allocations: 0.9659 MB / 0.8339 GB, free: 46.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/1.432, allocations: 0 / 0.8339 GB, free: 46.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002984/1.432, allocations: 0.6273 MB / 0.8345 GB, free: 45.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002867/1.435, allocations: 2.432 MB / 0.8369 GB, free: 44.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00425/1.439, allocations: 6.901 MB / 0.8436 GB, free: 35.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004529/1.444, allocations: 4.04 MB / 0.8475 GB, free: 32.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.742e-05/1.444, allocations: 48 kB / 0.8476 GB, free: 32.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=997) (initialization): time 0.01414/1.458, allocations: 8.788 MB / 0.8562 GB, free: 24.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.829e-05/1.458, allocations: 79.83 kB / 0.8562 GB, free: 24.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001416/1.458, allocations: 160 kB / 0.8564 GB, free: 24.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/1.459, allocations: 0.5848 MB / 0.857 GB, free: 23.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005918/1.465, allocations: 1.795 MB / 0.8587 GB, free: 22.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004783/1.47, allocations: 5.417 MB / 0.864 GB, free: 17.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006145/1.476, allocations: 256.9 kB / 0.8643 GB, free: 16.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001693/1.478, allocations: 454.7 kB / 0.8647 GB, free: 16.54 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * 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 (947): * Single equations (assignments): 942 * 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.002384/1.48, allocations: 0.5205 MB / 0.8652 GB, free: 16.02 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006396/1.487, allocations: 3.919 MB / 0.869 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/1.488, allocations: 442.3 kB / 0.8694 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00666/1.495, allocations: 3.771 MB / 0.8731 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.553e-05/1.495, allocations: 35.77 kB / 0.8732 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/1.495, allocations: 4 kB / 0.8732 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.368e-05/1.495, allocations: 14.97 kB / 0.8732 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/1.513, allocations: 9.01 MB / 0.882 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/1.513, allocations: 0 / 0.882 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00243/1.515, allocations: 469.7 kB / 0.8824 GB, free: 1.258 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009237/1.516, allocations: 339.3 kB / 0.8828 GB, free: 1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003163/1.517, allocations: 7.469 kB / 0.8828 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004973/1.522, allocations: 4.767 MB / 0.8874 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.522, allocations: 0 / 0.8874 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/1.532, allocations: 6.861 MB / 0.8941 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002749/1.535, allocations: 0.7838 MB / 0.8949 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001127/1.536, allocations: 11.8 kB / 0.8949 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002567/1.539, allocations: 122.8 kB / 0.895 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003517/1.539, allocations: 145.7 kB / 0.8951 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001995/1.539, allocations: 64 kB / 0.8952 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005778/1.545, allocations: 2.603 MB / 0.8978 GB, free: 3.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/1.545, allocations: 0 / 0.8978 GB, free: 3.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007941/1.553, allocations: 1.112 MB / 0.8988 GB, free: 1.914 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 220 * 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.313/1.866, allocations: 7.705 MB / 0.9064 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01267/1.879, allocations: 6.067 MB / 0.9123 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/1.879, allocations: 5.312 kB / 0.9123 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003665/1.883, allocations: 2.112 MB / 0.9144 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004057/1.887, allocations: 473.1 kB / 0.9148 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03248/1.919, allocations: 11.61 MB / 0.9261 GB, free: 111 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006484/1.926, allocations: 4.227 MB / 0.9303 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007487/1.933, allocations: 2.432 MB / 0.9326 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004026/1.937, allocations: 2.613 MB / 0.9352 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.585e-06/1.937, allocations: 0 / 0.9352 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/2.086, allocations: 92.73 MB / 1.026 GB, free: 63.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/2.086, allocations: 146.6 kB / 1.026 GB, free: 63.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.791/6.877, allocations: 0 / 1.026 GB, free: 63.25 MB / 0.5105 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