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.00157/0.00157, allocations: 183 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.705/1.705, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.001051/0.001051, allocations: 89.02 kB / 267.1 MB, free: 9.281 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.4792/0.4792, allocations: 43.47 MB / 358.6 MB, free: 52.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.271e-05/5.281e-05, allocations: 4 kB / 425.4 MB, free: 8.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1437, allocations: 58.85 MB / 484.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4614/0.6052, allocations: 112.7 MB / 0.583 GB, free: 8.191 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.6055, allocations: 73.28 kB / 0.583 GB, free: 8.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6608/1.266, allocations: 136.5 MB / 0.7163 GB, free: 86.03 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.038e-06/1.266, allocations: 0 / 0.7163 GB, free: 86.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000942/1.267, allocations: 136 kB / 0.7164 GB, free: 86.02 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: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.03306/1.3, allocations: 7.06 MB / 0.7233 GB, free: 83.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.528e-05/1.301, allocations: 7.906 kB / 0.7233 GB, free: 83.39 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009605/1.31, allocations: 1.142 MB / 0.7244 GB, free: 83.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03314/1.343, allocations: 7.568 MB / 0.7318 GB, free: 82.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02876/1.372, allocations: 9.813 MB / 0.7414 GB, free: 80.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007267/1.373, allocations: 488.4 kB / 0.7419 GB, free: 80.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004522/1.377, allocations: 0.6539 MB / 0.7425 GB, free: 80.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04504/1.423, allocations: 16.59 MB / 0.7587 GB, free: 72.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009888/1.424, allocations: 97.67 kB / 0.7588 GB, free: 72.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004501/1.428, allocations: 315.8 kB / 0.7591 GB, free: 71.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003058/1.431, allocations: 1.592 MB / 0.7607 GB, free: 71.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03372/1.465, allocations: 13.51 MB / 0.7739 GB, free: 67.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09064/1.556, allocations: 74.4 MB / 0.8465 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02296/1.579, allocations: 7.692 MB / 0.854 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3638/1.943, allocations: 3.98 MB / 0.8579 GB, free: 93.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03414/1.977, allocations: 18.69 MB / 0.8762 GB, free: 89.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.791e-05/1.977, allocations: 70.16 kB / 0.8762 GB, free: 89.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=287): time 6.713e-06/1.977, allocations: 3.906 kB / 0.8762 GB, free: 89.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=370): time 0.1314/2.108, allocations: 38.94 MB / 0.9143 GB, free: 81.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/2.108, allocations: 273.9 kB / 0.9145 GB, free: 80.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01015/2.119, allocations: 5.316 MB / 0.9197 GB, free: 79.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001186/2.12, allocations: 87.67 kB / 0.9198 GB, free: 79.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003494/2.123, allocations: 4.772 MB / 0.9245 GB, free: 75.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002405/2.126, allocations: 1.362 MB / 0.9258 GB, free: 74.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006608/2.126, allocations: 186.7 kB / 0.926 GB, free: 74.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004663/2.127, allocations: 0.6927 MB / 0.9267 GB, free: 73.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005297/2.132, allocations: 3.668 MB / 0.9302 GB, free: 72.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008612/2.141, allocations: 8.866 MB / 0.9389 GB, free: 64.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009344/2.15, allocations: 5.591 MB / 0.9444 GB, free: 62.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002029/2.151, allocations: 51.88 kB / 0.9444 GB, free: 62.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03863/2.189, allocations: 15.87 MB / 0.9599 GB, free: 57.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/2.189, allocations: 85.09 kB / 0.96 GB, free: 57.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002751/2.19, allocations: 183.6 kB / 0.9602 GB, free: 57.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01363/2.203, allocations: 4.017 MB / 0.9641 GB, free: 56.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008091/2.211, allocations: 2.046 MB / 0.9661 GB, free: 55.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04111/2.253, allocations: 20.79 MB / 0.9864 GB, free: 37.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01398/2.267, allocations: 0.5495 MB / 0.9869 GB, free: 36.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002845/2.27, allocations: 0.5264 MB / 0.9874 GB, free: 36.46 MB / 0.4948 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 () * 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.003298/2.273, allocations: 0.8118 MB / 0.9882 GB, free: 35.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001919/2.275, allocations: 0.5746 MB / 0.9888 GB, free: 35.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02506/2.3, allocations: 9.444 MB / 0.998 GB, free: 27.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.291e-05/2.3, allocations: 41.36 kB / 0.9981 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-05/2.3, allocations: 20 kB / 0.9981 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-05/2.3, allocations: 19.66 kB / 0.9981 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04272/2.343, allocations: 18.94 MB / 1.017 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.065e-05/2.343, allocations: 9.562 kB / 1.017 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00293/2.346, allocations: 0.507 MB / 1.017 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01118/2.357, allocations: 3.572 MB / 1.021 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009988/2.358, allocations: 64 kB / 1.021 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02802/2.386, allocations: 18.7 MB / 1.039 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/2.386, allocations: 3.938 kB / 1.039 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4143/2.801, allocations: 13.96 MB / 1.053 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004677/2.805, allocations: 1.121 MB / 1.054 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00235/2.808, allocations: 61.94 kB / 1.054 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00589/2.814, allocations: 219.8 kB / 1.054 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001783/2.815, allocations: 226.6 kB / 1.054 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004791/2.816, allocations: 92.34 kB / 1.054 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01032/2.826, allocations: 3.716 MB / 1.058 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.1e-07/2.826, allocations: 3.156 kB / 1.058 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01384/2.84, allocations: 1.848 MB / 1.06 GB, free: 110.2 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 (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.03157/2.872, allocations: 14.81 MB / 1.074 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02373/2.896, allocations: 9.489 MB / 1.083 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/2.896, allocations: 0 / 1.083 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00724/2.903, allocations: 3.725 MB / 1.087 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005783/2.909, allocations: 0.7232 MB / 1.088 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04493/2.954, allocations: 15.38 MB / 1.103 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008104/2.962, allocations: 5.017 MB / 1.108 GB, free: 99.33 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008699/2.971, allocations: 2.813 MB / 1.11 GB, free: 99.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00739/2.978, allocations: 3.273 MB / 1.114 GB, free: 96.59 MB / 0.5261 GB Notification: Performance of SimCode: time 1.633e-06/2.978, allocations: 3.438 kB / 1.114 GB, free: 96.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5754/3.553, allocations: 141.4 MB / 1.252 GB, free: 83.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/3.554, allocations: 178.5 kB / 1.252 GB, free: 83.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.25/10.8, allocations: 0 / 1.252 GB, free: 83.01 MB / 0.5261 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