Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008784/0.0008784, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 175.7 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.4 MB / 222.7 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3411/0.3411, allocations: 43.55 MB / 314.6 MB, free: 8.734 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005021/0.0005021, allocations: 12 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1183, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.2585/0.3768, allocations: 81.76 MB / 0.5123 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04034/0.4172, allocations: 16.44 MB / 0.5284 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02117/0.4384, allocations: 388.2 kB / 0.5288 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01911/0.4576, allocations: 4.298 MB / 0.533 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03608/0.4938, allocations: 12.51 MB / 0.5452 GB, free: 7.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007564/0.5014, allocations: 0.8942 MB / 0.5461 GB, free: 6.285 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04685/0.5482, allocations: 36.11 MB / 0.5813 GB, free: 2.129 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01116/0.5594, allocations: 7.408 MB / 0.5886 GB, free: 10.67 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004171/0.5637, allocations: 2.012 MB / 0.5905 GB, free: 8.648 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004334/0.568, allocations: 3.147 MB / 0.5936 GB, free: 5.492 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009185/0.569, allocations: 231.9 kB / 0.5938 GB, free: 5.266 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.5717, allocations: 1.018 MB / 0.5948 GB, free: 4.246 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003607/0.5754, allocations: 2.774 MB / 0.5975 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001852/0.5772, allocations: 1.314 MB / 0.5988 GB, free: 144 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00886/0.5861, allocations: 8.713 MB / 0.6073 GB, free: 7.406 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.5861, allocations: 4 kB / 0.6073 GB, free: 7.402 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.5862, allocations: 0 / 0.6073 GB, free: 7.402 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003669/0.5865, allocations: 4 kB / 0.6073 GB, free: 7.398 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.01455/0.6011, allocations: 6.639 MB / 0.6138 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.6012, allocations: 11.97 kB / 0.6138 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003607/0.6048, allocations: 1.095 MB / 0.6149 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03324/0.638, allocations: 6.376 MB / 0.6211 GB, free: 9.164 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009959/0.648, allocations: 5.166 MB / 0.6262 GB, free: 3.918 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002862/0.6484, allocations: 377.6 kB / 0.6265 GB, free: 3.547 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001402/0.6498, allocations: 0.4918 MB / 0.627 GB, free: 3.055 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2314/0.8812, allocations: 15.55 MB / 0.6422 GB, free: 138.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001852/0.8815, allocations: 62.5 kB / 0.6422 GB, free: 138.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000686/0.8822, allocations: 239.2 kB / 0.6425 GB, free: 138.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00412/0.8863, allocations: 3.001 MB / 0.6454 GB, free: 138.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0229/0.9092, allocations: 13.12 MB / 0.6582 GB, free: 134.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06608/0.9753, allocations: 60.65 MB / 0.7174 GB, free: 88.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01543/0.9908, allocations: 7.508 MB / 0.7248 GB, free: 81 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004091/0.9949, allocations: 4.018 MB / 0.7287 GB, free: 76.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0119/1.007, allocations: 9.611 MB / 0.7381 GB, free: 67.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/1.007, allocations: 68.56 kB / 0.7381 GB, free: 67.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=273): time 5.41e-06/1.007, allocations: 0 / 0.7381 GB, free: 67.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.06703/1.074, allocations: 32.84 MB / 0.7702 GB, free: 34.08 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/1.074, allocations: 243.9 kB / 0.7704 GB, free: 33.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00788/1.082, allocations: 6.874 MB / 0.7772 GB, free: 26.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006991/1.083, allocations: 71.19 kB / 0.7772 GB, free: 26.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002302/1.085, allocations: 4.679 MB / 0.7818 GB, free: 22.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001327/1.086, allocations: 1.185 MB / 0.7829 GB, free: 21.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004459/1.087, allocations: 176 kB / 0.7831 GB, free: 20.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003291/1.087, allocations: 0.6821 MB / 0.7838 GB, free: 20.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004453/1.092, allocations: 3.656 MB / 0.7874 GB, free: 16.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007832/1.099, allocations: 8.807 MB / 0.796 GB, free: 5.129 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00786/1.107, allocations: 5.537 MB / 0.8014 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001129/1.107, allocations: 48 kB / 0.8014 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.02472/1.132, allocations: 13.77 MB / 0.8149 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/1.132, allocations: 83.94 kB / 0.8149 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002051/1.133, allocations: 180 kB / 0.8151 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2014/1.334, allocations: 1.795 MB / 0.8169 GB, free: 137.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006477/1.341, allocations: 2.106 MB / 0.8189 GB, free: 137.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/1.353, allocations: 11.87 MB / 0.8305 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006901/1.36, allocations: 0.5209 MB / 0.831 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001565/1.362, allocations: 0.5224 MB / 0.8315 GB, free: 135.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1082): * Single equations (assignments): 1075 * 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%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005367/1.367, allocations: 3.159 MB / 0.8346 GB, free: 133.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.368, allocations: 0.586 MB / 0.8352 GB, free: 133.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/1.379, allocations: 7.007 MB / 0.842 GB, free: 131.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.407e-05/1.379, allocations: 33.22 kB / 0.8421 GB, free: 131.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.172e-05/1.379, allocations: 12.41 kB / 0.8421 GB, free: 131.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.561e-05/1.379, allocations: 13.88 kB / 0.8421 GB, free: 131.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0261/1.405, allocations: 15.52 MB / 0.8572 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-05/1.405, allocations: 4.844 kB / 0.8572 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002593/1.408, allocations: 0.559 MB / 0.8578 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00373/1.412, allocations: 1.511 MB / 0.8593 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004228/1.412, allocations: 55.83 kB / 0.8593 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/1.426, allocations: 11.09 MB / 0.8702 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.426, allocations: 5.844 kB / 0.8702 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/1.441, allocations: 11.4 MB / 0.8813 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002532/1.443, allocations: 1.174 MB / 0.8824 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008801/1.444, allocations: 58.19 kB / 0.8825 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002246/1.446, allocations: 213.2 kB / 0.8827 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004573/1.447, allocations: 192.2 kB / 0.8829 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/1.447, allocations: 85.02 kB / 0.883 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005568/1.453, allocations: 4.404 MB / 0.8873 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/1.453, allocations: 0 / 0.8873 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006945/1.46, allocations: 1.643 MB / 0.8889 GB, free: 109.7 MB / 0.4981 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 (260): * Single equations (assignments): 255 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01393/1.474, allocations: 12.09 MB / 0.9007 GB, free: 98.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0115/1.485, allocations: 8.929 MB / 0.9094 GB, free: 89.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.485, allocations: 0.75 kB / 0.9094 GB, free: 89.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004931/1.49, allocations: 3.568 MB / 0.9129 GB, free: 85.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005355/1.496, allocations: 0.7387 MB / 0.9136 GB, free: 85.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08576/1.581, allocations: 66.17 MB / 0.9782 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00545/1.587, allocations: 4.8 MB / 0.9829 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006843/1.594, allocations: 2.957 MB / 0.9858 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003914/1.598, allocations: 3.147 MB / 0.9889 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/1.598, allocations: 0 / 0.9889 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4899/2.088, allocations: 131.8 MB / 1.118 GB, free: 75.88 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001251/2.088, allocations: 199.1 kB / 1.118 GB, free: 75.63 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.357/7.444, allocations: 4 kB / 1.118 GB, free: 75.62 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat