Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",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.00245/0.002455, allocations: 186.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.331/2.331, allocations: 205.4 MB / 222.5 MB, free: 13.77 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.001127/0.001127, allocations: 98.81 kB / 270.9 MB, free: 13.29 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.3176/0.3176, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005457/0.0005458, allocations: 16 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.127, allocations: 58.86 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.5072/0.6343, allocations: 83.59 MB / 0.5605 GB, free: 15.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05754/0.6919, allocations: 18.73 MB / 0.5787 GB, free: 1.688 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02174/0.7137, allocations: 411.1 kB / 0.5791 GB, free: 1.285 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01593/0.7297, allocations: 4.207 MB / 0.5832 GB, free: 13.06 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04858/0.7783, allocations: 11.91 MB / 0.5949 GB, free: 1.121 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00727/0.7856, allocations: 0.909 MB / 0.5958 GB, free: 216 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.07481/0.8605, allocations: 27.51 MB / 0.6226 GB, free: 4.676 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0166/0.8772, allocations: 7.359 MB / 0.6298 GB, free: 13.25 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004734/0.882, allocations: 1.666 MB / 0.6314 GB, free: 11.58 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005593/0.8876, allocations: 2.262 MB / 0.6336 GB, free: 9.305 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001812/0.8895, allocations: 244 kB / 0.6339 GB, free: 9.066 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004294/0.8938, allocations: 1.1 MB / 0.635 GB, free: 7.965 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005159/0.899, allocations: 2.669 MB / 0.6376 GB, free: 5.289 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003035/0.9021, allocations: 1.384 MB / 0.6389 GB, free: 3.895 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01645/0.9186, allocations: 9.329 MB / 0.648 GB, free: 10.54 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9187, allocations: 0 / 0.648 GB, free: 10.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.9187, allocations: 0 / 0.648 GB, free: 10.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004159/0.9191, allocations: 0 / 0.648 GB, free: 10.54 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02691/0.946, allocations: 7.09 MB / 0.6549 GB, free: 3.371 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.9461, allocations: 16.02 kB / 0.655 GB, free: 3.355 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004332/0.9505, allocations: 1.162 MB / 0.6561 GB, free: 2.184 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08988/1.04, allocations: 8.334 MB / 0.6642 GB, free: 9.828 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01651/1.057, allocations: 4.84 MB / 0.669 GB, free: 4.906 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005881/1.058, allocations: 398.1 kB / 0.6693 GB, free: 4.516 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002683/1.06, allocations: 0.5191 MB / 0.6698 GB, free: 3.996 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05356/1.114, allocations: 16.94 MB / 0.6864 GB, free: 2.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003617/1.114, allocations: 75.36 kB / 0.6865 GB, free: 1.996 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002101/1.116, allocations: 251.8 kB / 0.6867 GB, free: 1.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01082/1.127, allocations: 3.248 MB / 0.6899 GB, free: 14.5 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05214/1.18, allocations: 14.41 MB / 0.7039 GB, free: 52 kB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.757/1.937, allocations: 62.56 MB / 0.765 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03037/1.967, allocations: 6.981 MB / 0.7719 GB, free: 140 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02459/1.992, allocations: 9.505 MB / 0.7811 GB, free: 134 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/1.992, allocations: 68.12 kB / 0.7812 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=297): time 7.134e-06/1.992, allocations: 0 / 0.7812 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339): time 0.1473/2.139, allocations: 34.13 MB / 0.8145 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/2.139, allocations: 248.2 kB / 0.8148 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01417/2.153, allocations: 6.975 MB / 0.8216 GB, free: 97.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001024/2.155, allocations: 77.7 kB / 0.8216 GB, free: 97.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00389/2.158, allocations: 4.558 MB / 0.8261 GB, free: 92.46 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002216/2.161, allocations: 1.27 MB / 0.8273 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001487/2.162, allocations: 176.9 kB / 0.8275 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006253/2.163, allocations: 0.6909 MB / 0.8282 GB, free: 90.33 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009955/2.173, allocations: 3.816 MB / 0.8319 GB, free: 86.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01294/2.186, allocations: 8.835 MB / 0.8405 GB, free: 75.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/2.199, allocations: 5.678 MB / 0.8461 GB, free: 69.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001312/2.199, allocations: 52 kB / 0.8461 GB, free: 69.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1169) (initialization): time 0.03634/2.235, allocations: 13.8 MB / 0.8596 GB, free: 55.63 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/2.235, allocations: 80 kB / 0.8597 GB, free: 55.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001988/2.236, allocations: 176 kB / 0.8599 GB, free: 55.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007281/2.243, allocations: 1.817 MB / 0.8616 GB, free: 53.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01333/2.256, allocations: 2.086 MB / 0.8637 GB, free: 51.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02459/2.281, allocations: 12.39 MB / 0.8758 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01067/2.292, allocations: 0.5235 MB / 0.8763 GB, free: 38.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002132/2.294, allocations: 0.5246 MB / 0.8768 GB, free: 37.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1087): * Single equations (assignments): 1080 * Array equations: 5 * 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%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009038/2.303, allocations: 3.287 MB / 0.88 GB, free: 34.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001667/2.305, allocations: 0.59 MB / 0.8806 GB, free: 33.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02344/2.328, allocations: 7.703 MB / 0.8881 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.446e-05/2.328, allocations: 36 kB / 0.8881 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-05/2.328, allocations: 15.98 kB / 0.8881 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.461e-05/2.328, allocations: 11.95 kB / 0.8882 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04394/2.372, allocations: 16.37 MB / 0.9041 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.953e-05/2.372, allocations: 4 kB / 0.9041 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005643/2.378, allocations: 0.5816 MB / 0.9047 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006661/2.385, allocations: 1.527 MB / 0.9062 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005852/2.385, allocations: 66.17 kB / 0.9063 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3676/2.753, allocations: 11.58 MB / 0.9176 GB, free: 166.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/2.753, allocations: 5.438 kB / 0.9176 GB, free: 166.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03597/2.789, allocations: 13 MB / 0.9303 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004937/2.794, allocations: 1.228 MB / 0.9315 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00183/2.796, allocations: 60.97 kB / 0.9315 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00541/2.801, allocations: 229.1 kB / 0.9318 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001101/2.802, allocations: 207.8 kB / 0.932 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004241/2.803, allocations: 90.48 kB / 0.932 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01003/2.813, allocations: 4.522 MB / 0.9365 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/2.813, allocations: 0 / 0.9365 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01251/2.825, allocations: 1.733 MB / 0.9382 GB, free: 159.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (279): * Single equations (assignments): 274 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03146/2.857, allocations: 14.4 MB / 0.9522 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02116/2.878, allocations: 9.333 MB / 0.9613 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/2.878, allocations: 3.719 kB / 0.9613 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0102/2.888, allocations: 3.805 MB / 0.965 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006248/2.895, allocations: 0.7102 MB / 0.9657 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4255/3.32, allocations: 157.6 MB / 1.12 GB, free: 177.9 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01454/3.335, allocations: 5.179 MB / 1.125 GB, free: 177.1 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01098/3.346, allocations: 3.408 MB / 1.128 GB, free: 176.1 MB / 0.5262 GB Notification: Performance of SimCode: time 3.217e-06/3.346, allocations: 1 kB / 1.128 GB, free: 176.1 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.763/9.109, allocations: 194.7 MB / 1.318 GB, free: 159.4 MB / 0.5262 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat