Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces",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.001432/0.001432, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.152/2.152, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 89.53 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3082/0.3082, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.207e-05/2.216e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4174, allocations: 58.85 MB / 477.2 MB, free: 5.172 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2036/0.6211, allocations: 106.1 MB / 0.5696 GB, free: 9.059 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.6215, allocations: 79.45 kB / 0.5697 GB, free: 8.984 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.819/1.44, allocations: 109 MB / 0.6761 GB, free: 106.1 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.896e-06/1.441, allocations: 3.938 kB / 0.6761 GB, free: 106.1 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.000392/1.441, allocations: 112.1 kB / 0.6762 GB, free: 106.1 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02239/1.463, allocations: 5.339 MB / 0.6815 GB, free: 103.9 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/1.463, allocations: 7.844 kB / 0.6815 GB, free: 103.9 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05178/1.515, allocations: 6.934 MB / 0.6882 GB, free: 103.4 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.026/1.541, allocations: 6.798 MB / 0.6949 GB, free: 101.1 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003558/1.542, allocations: 170.4 kB / 0.695 GB, free: 101.1 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003008/1.545, allocations: 323.4 kB / 0.6953 GB, free: 101.1 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01879/1.564, allocations: 7.227 MB / 0.7024 GB, free: 98.55 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03046/1.594, allocations: 11.42 MB / 0.7136 GB, free: 91.58 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003973/1.595, allocations: 78.39 kB / 0.7136 GB, free: 91.51 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002726/1.597, allocations: 36 kB / 0.7137 GB, free: 91.47 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002766/1.6, allocations: 1.205 MB / 0.7148 GB, free: 90.39 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08264/1.683, allocations: 56.28 MB / 0.7698 GB, free: 32.81 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006518/1.689, allocations: 3.457 MB / 0.7732 GB, free: 29.21 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004081/1.693, allocations: 2.092 MB / 0.7752 GB, free: 27.11 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001854/1.694, allocations: 32.72 kB / 0.7752 GB, free: 27.09 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.266e-05/1.694, allocations: 59.8 kB / 0.7753 GB, free: 27.02 MB / 475.1 MB Notification: Performance of pre-optimization done (n=183): time 6.693e-06/1.694, allocations: 0 / 0.7753 GB, free: 27.02 MB / 475.1 MB Notification: Performance of matching and sorting (n=197): time 0.05633/1.75, allocations: 17.33 MB / 0.7922 GB, free: 9.598 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.03e-05/1.75, allocations: 201.2 kB / 0.7924 GB, free: 9.359 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01036/1.761, allocations: 4.075 MB / 0.7964 GB, free: 5.289 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005085/1.761, allocations: 25.7 kB / 0.7964 GB, free: 5.258 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003469/1.765, allocations: 3.98 MB / 0.8003 GB, free: 1.223 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001278/1.766, allocations: 0.7599 MB / 0.8011 GB, free: 464 kB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009173/1.767, allocations: 0 / 0.8011 GB, free: 464 kB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0007025/1.768, allocations: 0.6207 MB / 0.8017 GB, free: 15.82 MB / 491.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006732/1.775, allocations: 2.158 MB / 0.8038 GB, free: 13.66 MB / 491.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01212/1.787, allocations: 6.724 MB / 0.8103 GB, free: 4.645 MB / 491.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/1.797, allocations: 3.78 MB / 0.814 GB, free: 0.8555 MB / 491.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000176/1.797, allocations: 48 kB / 0.8141 GB, free: 0.8086 MB / 491.1 MB Notification: Performance of matching and sorting (n=959) (initialization): time 0.02611/1.823, allocations: 8.093 MB / 0.822 GB, free: 8.703 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001555/1.823, allocations: 75.98 kB / 0.822 GB, free: 8.629 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002876/1.824, allocations: 164 kB / 0.8222 GB, free: 8.469 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002479/1.826, allocations: 0.5929 MB / 0.8228 GB, free: 7.871 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01092/1.837, allocations: 1.684 MB / 0.8244 GB, free: 6.184 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/1.847, allocations: 5.411 MB / 0.8297 GB, free: 0.5508 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008122/1.856, allocations: 251.2 kB / 0.83 GB, free: 312 kB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3767/2.232, allocations: 454.9 kB / 0.8304 GB, free: 118 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 747 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (909): * Single equations (assignments): 904 * 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.002836/2.235, allocations: 0.5002 MB / 0.8309 GB, free: 117.9 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009178/2.244, allocations: 3.108 MB / 0.8339 GB, free: 117.8 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/2.246, allocations: 423.2 kB / 0.8343 GB, free: 117.8 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009042/2.255, allocations: 2.93 MB / 0.8372 GB, free: 117.7 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.786e-05/2.255, allocations: 22.27 kB / 0.8372 GB, free: 117.7 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-05/2.255, allocations: 6.484 kB / 0.8372 GB, free: 117.7 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.232e-05/2.255, allocations: 10.48 kB / 0.8372 GB, free: 117.7 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02587/2.281, allocations: 7.336 MB / 0.8444 GB, free: 117.2 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.491e-05/2.281, allocations: 5.219 kB / 0.8444 GB, free: 117.2 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003192/2.284, allocations: 296 kB / 0.8447 GB, free: 117.2 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/2.286, allocations: 336.2 kB / 0.845 GB, free: 117.1 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000444/2.287, allocations: 11.17 kB / 0.845 GB, free: 117.1 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008156/2.295, allocations: 4.731 MB / 0.8496 GB, free: 114.6 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/2.295, allocations: 4.062 kB / 0.8496 GB, free: 114.6 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/2.308, allocations: 5.533 MB / 0.855 GB, free: 113.5 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003126/2.312, allocations: 0.7047 MB / 0.8557 GB, free: 113.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001319/2.313, allocations: 3.375 kB / 0.8557 GB, free: 113.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003378/2.316, allocations: 69.59 kB / 0.8558 GB, free: 113.1 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005138/2.317, allocations: 106.7 kB / 0.8559 GB, free: 113.1 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001988/2.317, allocations: 47.41 kB / 0.8559 GB, free: 113.1 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.007497/2.325, allocations: 2.762 MB / 0.8586 GB, free: 112.1 MB / 0.4952 GB Notification: Performance of sort global known variables: time 8.92e-07/2.325, allocations: 3.656 kB / 0.8586 GB, free: 112.1 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.009569/2.334, allocations: 1.029 MB / 0.8596 GB, free: 112.1 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (156): * Single equations (assignments): 151 * 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.0125/2.347, allocations: 6.461 MB / 0.8659 GB, free: 108.8 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01213/2.359, allocations: 5.337 MB / 0.8712 GB, free: 107.2 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/2.359, allocations: 0 / 0.8712 GB, free: 107.2 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.003839/2.363, allocations: 1.65 MB / 0.8728 GB, free: 106.5 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004392/2.367, allocations: 489.3 kB / 0.8732 GB, free: 106.3 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03759/2.405, allocations: 11.45 MB / 0.8844 GB, free: 102.2 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009597/2.415, allocations: 4.146 MB / 0.8885 GB, free: 100.7 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006153/2.421, allocations: 2.563 MB / 0.891 GB, free: 98.66 MB / 0.4952 GB Notification: Performance of SimCode: time 1.473e-06/2.421, allocations: 0 / 0.891 GB, free: 98.66 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.023/7.444, allocations: 144.4 MB / 1.032 GB, free: 119.6 MB / 0.5108 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat