Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",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.002772/0.002778, allocations: 181.8 kB / 16.4 MB, free: 5.746 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.995/1.995, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001658/0.001658, allocations: 86.88 kB / 270.9 MB, free: 8.375 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.5824/0.5824, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004902, allocations: 8 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1404, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.4858/0.6263, allocations: 117.7 MB / 0.5938 GB, free: 12.95 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.08418/0.7105, allocations: 25.72 MB / 0.6189 GB, free: 5.77 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03063/0.7412, allocations: 0.569 MB / 0.6194 GB, free: 5.199 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02402/0.7653, allocations: 5.954 MB / 0.6252 GB, free: 132 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.07174/0.8371, allocations: 16.6 MB / 0.6414 GB, free: 15.49 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0109/0.848, allocations: 1.214 MB / 0.6426 GB, free: 14.28 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.5261/1.374, allocations: 40.54 MB / 0.6822 GB, free: 32.37 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0214/1.396, allocations: 10.09 MB / 0.6921 GB, free: 31.56 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006481/1.402, allocations: 2.173 MB / 0.6942 GB, free: 31.56 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008269/1.411, allocations: 3.037 MB / 0.6972 GB, free: 31.55 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003571/1.414, allocations: 331.8 kB / 0.6975 GB, free: 31.55 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006913/1.421, allocations: 1.163 MB / 0.6986 GB, free: 31.55 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008295/1.429, allocations: 3.562 MB / 0.7021 GB, free: 31.55 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005352/1.435, allocations: 1.825 MB / 0.7039 GB, free: 31.52 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02007/1.455, allocations: 12.37 MB / 0.716 GB, free: 27.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.455, allocations: 0 / 0.716 GB, free: 27.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.357e-06/1.455, allocations: 0 / 0.716 GB, free: 27.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000659/1.456, allocations: 0 / 0.716 GB, free: 27.2 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: 3271 * Number of variables: 3271 Notification: Performance of Generate backend data structure: time 0.03418/1.49, allocations: 9.262 MB / 0.725 GB, free: 21.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/1.49, allocations: 10.97 kB / 0.725 GB, free: 21.91 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006551/1.497, allocations: 1.531 MB / 0.7265 GB, free: 21.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1266/1.623, allocations: 11.55 MB / 0.7378 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02141/1.645, allocations: 6.494 MB / 0.7441 GB, free: 8.531 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007797/1.646, allocations: 0.5338 MB / 0.7446 GB, free: 8.238 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004726/1.65, allocations: 0.7056 MB / 0.7453 GB, free: 7.773 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06871/1.719, allocations: 22.1 MB / 0.7669 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006541/1.72, allocations: 89.36 kB / 0.767 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003871/1.724, allocations: 334.5 kB / 0.7673 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01443/1.738, allocations: 4.2 MB / 0.7714 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06687/1.805, allocations: 18.83 MB / 0.7898 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1857/1.991, allocations: 80.7 MB / 0.8686 GB, free: 3.762 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04196/2.033, allocations: 9.244 MB / 0.8777 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006098/2.033, allocations: 82.14 kB / 0.8777 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.362e-05/2.034, allocations: 80.23 kB / 0.8778 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=412): time 9.178e-06/2.034, allocations: 4 kB / 0.8778 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of matching and sorting (n=475): time 0.6009/2.634, allocations: 47.63 MB / 0.9243 GB, free: 215.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/2.635, allocations: 284.9 kB / 0.9246 GB, free: 215.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02439/2.659, allocations: 8.714 MB / 0.9331 GB, free: 212.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001729/2.661, allocations: 97.83 kB / 0.9332 GB, free: 212.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.006438/2.667, allocations: 5.771 MB / 0.9388 GB, free: 207.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.003763/2.671, allocations: 1.741 MB / 0.9405 GB, free: 206.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002771/2.674, allocations: 221.4 kB / 0.9407 GB, free: 206.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.001498/2.676, allocations: 0.7864 MB / 0.9415 GB, free: 205.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01651/2.692, allocations: 5.163 MB / 0.9466 GB, free: 204.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02065/2.713, allocations: 11.18 MB / 0.9575 GB, free: 194.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01894/2.732, allocations: 7.461 MB / 0.9648 GB, free: 191.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002915/2.732, allocations: 60.88 kB / 0.9648 GB, free: 191.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1455) (initialization): time 0.05519/2.787, allocations: 18.22 MB / 0.9826 GB, free: 184.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001855/2.788, allocations: 95.95 kB / 0.9827 GB, free: 184.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003612/2.788, allocations: 212 kB / 0.9829 GB, free: 183.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01174/2.8, allocations: 2.632 MB / 0.9855 GB, free: 182 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0187/2.818, allocations: 2.708 MB / 0.9881 GB, free: 179.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03658/2.855, allocations: 18.56 MB / 1.006 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0153/2.87, allocations: 0.6841 MB / 1.007 GB, free: 162.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00326/2.874, allocations: 0.6406 MB / 1.008 GB, free: 162 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 75 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[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],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[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],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.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],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 (1359): * Single equations (assignments): 1353 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01442/2.888, allocations: 4.188 MB / 1.012 GB, free: 158.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003661/2.892, allocations: 0.75 MB / 1.012 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03802/2.93, allocations: 11.11 MB / 1.023 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.814e-05/2.93, allocations: 48.86 kB / 1.023 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-05/2.93, allocations: 12 kB / 1.023 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001503/2.93, allocations: 23.92 kB / 1.023 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07593/3.006, allocations: 23.56 MB / 1.046 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.435e-05/3.007, allocations: 6 kB / 1.046 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009619/3.016, allocations: 0.9169 MB / 1.047 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01084/3.027, allocations: 2.292 MB / 1.049 GB, free: 120 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001685/3.029, allocations: 91.97 kB / 1.05 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0365/3.065, allocations: 17.46 MB / 1.067 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/3.065, allocations: 7.938 kB / 1.067 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05078/3.116, allocations: 18.32 MB / 1.084 GB, free: 83.57 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007247/3.123, allocations: 1.656 MB / 1.086 GB, free: 81.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003882/3.127, allocations: 88.22 kB / 1.086 GB, free: 81.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009582/3.137, allocations: 351.5 kB / 1.087 GB, free: 81.46 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002574/3.14, allocations: 286.8 kB / 1.087 GB, free: 81.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001096/3.141, allocations: 124.1 kB / 1.087 GB, free: 81.06 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01461/3.155, allocations: 5.623 MB / 1.092 GB, free: 75.45 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.42e-07/3.155, allocations: 4 kB / 1.092 GB, free: 75.45 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01776/3.173, allocations: 2.314 MB / 1.095 GB, free: 73.14 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (406): * Single equations (assignments): 400 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(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.05059/3.224, allocations: 19.63 MB / 1.114 GB, free: 53.36 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03101/3.255, allocations: 12.78 MB / 1.126 GB, free: 40.58 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/3.255, allocations: 0 / 1.126 GB, free: 40.58 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01609/3.271, allocations: 5.597 MB / 1.132 GB, free: 34.94 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008957/3.28, allocations: 0.9403 MB / 1.133 GB, free: 34.02 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6511/3.931, allocations: 240.1 MB / 1.367 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01921/3.951, allocations: 6.6 MB / 1.374 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01412/3.965, allocations: 4.539 MB / 1.378 GB, free: 17.12 MB / 0.5886 GB Notification: Performance of SimCode: time 7.91e-07/3.965, allocations: 0 / 1.378 GB, free: 17.12 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.455/11.42, allocations: 294.2 MB / 1.665 GB, free: 197.3 MB / 0.5886 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForceAndTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForceAndTorque.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat