Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces2",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.001502/0.001502, allocations: 182.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.436/1.436, 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.0009253/0.0009253, allocations: 89.86 kB / 267.1 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.3847/0.3847, allocations: 43.48 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.312e-05/5.336e-05, allocations: 4 kB / 425.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1318, allocations: 58.85 MB / 484.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4206/0.5525, allocations: 105.5 MB / 0.5759 GB, free: 15.37 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.5528, allocations: 75.97 kB / 0.576 GB, free: 15.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7559/1.309, allocations: 163.7 MB / 0.7359 GB, free: 80.72 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.735e-06/1.309, allocations: 3.375 kB / 0.7359 GB, free: 80.72 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008642/1.31, allocations: 161.6 kB / 0.736 GB, free: 80.72 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: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.03482/1.344, allocations: 8.014 MB / 0.7438 GB, free: 76.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/1.345, allocations: 11.44 kB / 0.7439 GB, free: 76.98 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00768/1.352, allocations: 1.401 MB / 0.7452 GB, free: 76.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04721/1.4, allocations: 12.03 MB / 0.757 GB, free: 74.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03052/1.43, allocations: 10.82 MB / 0.7675 GB, free: 69.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001112/1.431, allocations: 0.6055 MB / 0.7681 GB, free: 69.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005848/1.437, allocations: 0.8123 MB / 0.7689 GB, free: 69.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06095/1.498, allocations: 19.13 MB / 0.7876 GB, free: 54.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009607/1.499, allocations: 107 kB / 0.7877 GB, free: 54.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005291/1.505, allocations: 388.6 kB / 0.7881 GB, free: 54.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003035/1.508, allocations: 1.739 MB / 0.7898 GB, free: 52.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03697/1.545, allocations: 15.48 MB / 0.8049 GB, free: 37.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5282/2.073, allocations: 79.72 MB / 0.8827 GB, free: 52.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02004/2.093, allocations: 8.185 MB / 0.8907 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005963/2.099, allocations: 4.084 MB / 0.8947 GB, free: 51.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007704/2.1, allocations: 0.6647 MB / 0.8954 GB, free: 51.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.258e-05/2.1, allocations: 68.44 kB / 0.8954 GB, free: 51.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=307): time 6.272e-06/2.1, allocations: 4.891 kB / 0.8954 GB, free: 51.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=331): time 0.08816/2.188, allocations: 25.93 MB / 0.9208 GB, free: 45.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/2.188, allocations: 298 kB / 0.921 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0177/2.206, allocations: 6.674 MB / 0.9276 GB, free: 44.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001069/2.207, allocations: 83.73 kB / 0.9276 GB, free: 44.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005818/2.213, allocations: 5.624 MB / 0.9331 GB, free: 41.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00224/2.215, allocations: 1.251 MB / 0.9344 GB, free: 40.67 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/2.217, allocations: 187.3 kB / 0.9345 GB, free: 40.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006178/2.217, allocations: 0.704 MB / 0.9352 GB, free: 40.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005101/2.222, allocations: 3.371 MB / 0.9385 GB, free: 38.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009511/2.232, allocations: 8.883 MB / 0.9472 GB, free: 30.37 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009824/2.242, allocations: 5.413 MB / 0.9525 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002711/2.242, allocations: 54.56 kB / 0.9525 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.02869/2.271, allocations: 12.88 MB / 0.9651 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/2.271, allocations: 86.62 kB / 0.9652 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003106/2.271, allocations: 196 kB / 0.9654 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002473/2.274, allocations: 1.01 MB / 0.9664 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008312/2.282, allocations: 2.158 MB / 0.9685 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/2.295, allocations: 11 MB / 0.9792 GB, free: 16.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01033/2.305, allocations: 0.5032 MB / 0.9797 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002625/2.308, allocations: 0.5552 MB / 0.9802 GB, free: 16.26 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 885 * Number of states: 0 () * Number of discrete variables: 66 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1152): * Single equations (assignments): 1145 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004398/2.312, allocations: 0.84 MB / 0.9811 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002981/2.315, allocations: 0.6648 MB / 0.9817 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/2.328, allocations: 5.845 MB / 0.9874 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.33e-05/2.328, allocations: 44.77 kB / 0.9875 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.637e-05/2.328, allocations: 7.188 kB / 0.9875 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.201e-05/2.328, allocations: 21.55 kB / 0.9875 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0416/2.37, allocations: 14.63 MB / 1.002 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-05/2.37, allocations: 4.094 kB / 1.002 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003302/2.373, allocations: 0.5334 MB / 1.002 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002363/2.376, allocations: 0.6692 MB / 1.003 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006452/2.377, allocations: 58.86 kB / 1.003 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/2.389, allocations: 9.858 MB / 1.013 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/2.389, allocations: 4 kB / 1.013 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01902/2.408, allocations: 9.912 MB / 1.022 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006355/2.415, allocations: 1.178 MB / 1.023 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00333/2.418, allocations: 53.95 kB / 1.024 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005948/2.424, allocations: 195.2 kB / 1.024 GB, free: 484 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001256/2.425, allocations: 192.1 kB / 1.024 GB, free: 360 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008888/2.426, allocations: 83.52 kB / 1.024 GB, free: 280 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.02961/2.456, allocations: 5.986 MB / 1.03 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.353e-06/2.456, allocations: 0 / 1.03 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01522/2.471, allocations: 1.814 MB / 1.032 GB, free: 13.24 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(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.02143/2.493, allocations: 10.89 MB / 1.042 GB, free: 3.363 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01741/2.51, allocations: 8.653 MB / 1.051 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/2.51, allocations: 4 kB / 1.051 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006173/2.516, allocations: 3.145 MB / 1.054 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008586/2.525, allocations: 0.9195 MB / 1.055 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06841/2.593, allocations: 17.17 MB / 1.071 GB, free: 7.492 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01766/2.611, allocations: 5.907 MB / 1.077 GB, free: 1.586 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.3875/2.999, allocations: 3.049 MB / 1.08 GB, free: 151.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009111/3.008, allocations: 3.924 MB / 1.084 GB, free: 151.7 MB / 0.573 GB Notification: Performance of SimCode: time 1.132e-06/3.008, allocations: 0 / 1.084 GB, free: 151.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2546/3.262, allocations: 146.6 MB / 1.227 GB, free: 81.85 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/3.263, allocations: 178.8 kB / 1.227 GB, free: 81.62 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.627/11.89, allocations: 0 / 1.227 GB, free: 81.62 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat