Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses",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.001308/0.001308, allocations: 183.1 kB / 15.76 MB, free: 6.367 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.49/1.49, 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.001296/0.001296, allocations: 90.86 kB / 270.2 MB, free: 13.36 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.21/0.21, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.000305, allocations: 12 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1192, allocations: 58.86 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4174/0.5366, allocations: 112.8 MB / 0.589 GB, free: 3.254 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.537, allocations: 75.66 kB / 0.5891 GB, free: 3.219 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6326/1.17, allocations: 136.3 MB / 0.7222 GB, free: 99.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.04e-06/1.17, allocations: 3.812 kB / 0.7222 GB, free: 99.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008455/1.171, allocations: 137.4 kB / 0.7224 GB, free: 99.83 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: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.03526/1.206, allocations: 7.671 MB / 0.7299 GB, free: 97.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.69e-05/1.206, allocations: 9.938 kB / 0.7299 GB, free: 97.03 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007154/1.213, allocations: 1.149 MB / 0.731 GB, free: 96.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03227/1.245, allocations: 7.551 MB / 0.7384 GB, free: 96.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0281/1.274, allocations: 9.858 MB / 0.748 GB, free: 95.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006866/1.274, allocations: 491 kB / 0.7485 GB, free: 95.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003788/1.278, allocations: 0.6552 MB / 0.7491 GB, free: 95.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04286/1.321, allocations: 16.73 MB / 0.7654 GB, free: 91.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008291/1.322, allocations: 98.98 kB / 0.7655 GB, free: 91.65 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004661/1.327, allocations: 317.3 kB / 0.7658 GB, free: 91.65 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00314/1.33, allocations: 1.582 MB / 0.7674 GB, free: 91.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03224/1.362, allocations: 13.76 MB / 0.7808 GB, free: 89.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09329/1.455, allocations: 74.44 MB / 0.8535 GB, free: 30.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02179/1.477, allocations: 7.736 MB / 0.8611 GB, free: 23.74 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03712/1.514, allocations: 18.71 MB / 0.8793 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.134e-05/1.515, allocations: 60.56 kB / 0.8794 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=287): time 6.693e-06/1.515, allocations: 0 / 0.8794 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=370): time 0.4748/1.989, allocations: 49.48 MB / 0.9277 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.989, allocations: 275.3 kB / 0.928 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0103/2, allocations: 5.398 MB / 0.9332 GB, free: 105 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001396/2.001, allocations: 83.67 kB / 0.9333 GB, free: 105 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004113/2.005, allocations: 4.77 MB / 0.938 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002182/2.008, allocations: 1.361 MB / 0.9393 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009693/2.009, allocations: 190.6 kB / 0.9395 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004533/2.009, allocations: 0.7047 MB / 0.9402 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005339/2.014, allocations: 3.774 MB / 0.9439 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008538/2.023, allocations: 8.977 MB / 0.9526 GB, free: 95.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009521/2.033, allocations: 5.649 MB / 0.9582 GB, free: 94.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004341/2.033, allocations: 51.38 kB / 0.9582 GB, free: 94.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.04372/2.077, allocations: 16.13 MB / 0.974 GB, free: 89.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005215/2.077, allocations: 82.19 kB / 0.974 GB, free: 89.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006028/2.078, allocations: 182.2 kB / 0.9742 GB, free: 89.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01462/2.093, allocations: 4.075 MB / 0.9782 GB, free: 89.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008748/2.101, allocations: 2.039 MB / 0.9802 GB, free: 88.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03503/2.137, allocations: 21.74 MB / 1.001 GB, free: 79.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009994/2.147, allocations: 0.5377 MB / 1.002 GB, free: 79.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002882/2.15, allocations: 0.5235 MB / 1.002 GB, free: 79.07 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1088): * Single equations (assignments): 1083 * 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 {(2,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01016/2.16, allocations: 3.128 MB / 1.005 GB, free: 77.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002309/2.162, allocations: 0.5785 MB / 1.006 GB, free: 76.99 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02534/2.187, allocations: 9.562 MB / 1.015 GB, free: 69.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.652e-05/2.188, allocations: 36 kB / 1.015 GB, free: 69.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.479e-05/2.188, allocations: 20 kB / 1.015 GB, free: 69.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001112/2.188, allocations: 21.62 kB / 1.015 GB, free: 69.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04981/2.238, allocations: 19.06 MB / 1.034 GB, free: 54.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.199e-05/2.238, allocations: 7.938 kB / 1.034 GB, free: 54.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003078/2.241, allocations: 0.5028 MB / 1.035 GB, free: 54.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01231/2.253, allocations: 3.619 MB / 1.038 GB, free: 51.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001007/2.254, allocations: 67.38 kB / 1.038 GB, free: 51.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02818/2.282, allocations: 19.65 MB / 1.057 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/2.282, allocations: 0 / 1.057 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02853/2.311, allocations: 14.12 MB / 1.071 GB, free: 19.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005058/2.316, allocations: 1.124 MB / 1.072 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002643/2.319, allocations: 56 kB / 1.072 GB, free: 18.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004892/2.324, allocations: 229.6 kB / 1.073 GB, free: 17.97 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001299/2.325, allocations: 222.1 kB / 1.073 GB, free: 17.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006473/2.326, allocations: 89.08 kB / 1.073 GB, free: 17.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008704/2.334, allocations: 3.808 MB / 1.077 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.82e-07/2.334, allocations: 0 / 1.077 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01267/2.347, allocations: 1.85 MB / 1.078 GB, free: 12.02 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 (270): * Single equations (assignments): 265 * 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 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03055/2.378, allocations: 14.97 MB / 1.093 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.3021/2.68, allocations: 9.662 MB / 1.102 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/2.68, allocations: 5.875 kB / 1.102 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008099/2.688, allocations: 3.791 MB / 1.106 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006319/2.694, allocations: 0.717 MB / 1.107 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1862/2.881, allocations: 191.3 MB / 1.294 GB, free: 6.609 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008073/2.889, allocations: 5.025 MB / 1.299 GB, free: 5.016 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.008157/2.897, allocations: 2.811 MB / 1.301 GB, free: 4.785 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00559/2.903, allocations: 3.271 MB / 1.304 GB, free: 2.102 MB / 0.573 GB Notification: Performance of SimCode: time 1.372e-06/2.903, allocations: 0 / 1.304 GB, free: 2.102 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5228/3.426, allocations: 141.5 MB / 1.443 GB, free: 110.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/3.426, allocations: 207.2 kB / 1.443 GB, free: 110.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.319/10.75, allocations: 4 kB / 1.443 GB, free: 110.5 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat