Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.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.Force,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force",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.002346/0.002346, allocations: 189.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.205/2.205, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001139/0.001139, allocations: 94.86 kB / 270.9 MB, free: 13.37 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.3007/0.3007, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006635/0.0006637, allocations: 16 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1285, allocations: 58.86 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.4559/0.5845, allocations: 77.12 MB / 0.5541 GB, free: 4.023 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.05151/0.636, allocations: 17.26 MB / 0.571 GB, free: 7.805 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01966/0.6558, allocations: 384.7 kB / 0.5714 GB, free: 7.746 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01566/0.6715, allocations: 3.881 MB / 0.5752 GB, free: 4.863 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04622/0.7178, allocations: 10.99 MB / 0.5859 GB, free: 10.38 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006651/0.7245, allocations: 0.8939 MB / 0.5868 GB, free: 9.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.07561/0.8001, allocations: 27.36 MB / 0.6135 GB, free: 14.09 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01629/0.8165, allocations: 7.367 MB / 0.6207 GB, free: 6.633 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004382/0.8209, allocations: 1.623 MB / 0.6223 GB, free: 5.004 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005232/0.8262, allocations: 2.181 MB / 0.6244 GB, free: 2.816 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001601/0.8278, allocations: 228 kB / 0.6246 GB, free: 2.594 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003895/0.8317, allocations: 0.9832 MB / 0.6256 GB, free: 1.609 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004899/0.8367, allocations: 2.576 MB / 0.6281 GB, free: 15.03 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002776/0.8395, allocations: 1.31 MB / 0.6294 GB, free: 13.71 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0151/0.8547, allocations: 8.701 MB / 0.6379 GB, free: 4.98 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.8547, allocations: 4 kB / 0.6379 GB, free: 4.977 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.436e-06/0.8547, allocations: 3.938 kB / 0.6379 GB, free: 4.973 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004095/0.8552, allocations: 0 / 0.6379 GB, free: 4.973 MB / 442.7 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.0255/0.8807, allocations: 6.893 MB / 0.6446 GB, free: 14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.8807, allocations: 8.031 kB / 0.6446 GB, free: 13.99 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003859/0.8846, allocations: 1.095 MB / 0.6457 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08804/0.9727, allocations: 8.252 MB / 0.6537 GB, free: 4.609 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01614/0.9889, allocations: 4.751 MB / 0.6584 GB, free: 15.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000582/0.9895, allocations: 373.5 kB / 0.6587 GB, free: 15.41 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002515/0.992, allocations: 0.5073 MB / 0.6592 GB, free: 14.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04871/1.041, allocations: 15.75 MB / 0.6746 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003633/1.041, allocations: 71.36 kB / 0.6747 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001977/1.043, allocations: 235.8 kB / 0.6749 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00999/1.053, allocations: 3.008 MB / 0.6778 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04697/1.1, allocations: 13.37 MB / 0.6909 GB, free: 13.42 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4645/1.565, allocations: 60.85 MB / 0.7503 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03381/1.599, allocations: 7.714 MB / 0.7579 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02435/1.623, allocations: 9.688 MB / 0.7673 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.036e-05/1.623, allocations: 69.66 kB / 0.7674 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=273): time 6.573e-06/1.623, allocations: 1.719 kB / 0.7674 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=315): time 0.144/1.767, allocations: 33.99 MB / 0.8006 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/1.767, allocations: 243.9 kB / 0.8008 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01425/1.782, allocations: 7.108 MB / 0.8078 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009122/1.783, allocations: 78.92 kB / 0.8078 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003676/1.786, allocations: 4.44 MB / 0.8122 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001934/1.788, allocations: 1.183 MB / 0.8133 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/1.79, allocations: 180.6 kB / 0.8135 GB, free: 101 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000606/1.79, allocations: 0.683 MB / 0.8142 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009402/1.8, allocations: 3.656 MB / 0.8177 GB, free: 96.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01224/1.812, allocations: 8.777 MB / 0.8263 GB, free: 85.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01236/1.824, allocations: 5.537 MB / 0.8317 GB, free: 79.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001681/1.825, allocations: 52 kB / 0.8318 GB, free: 79.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.03622/1.861, allocations: 13.51 MB / 0.845 GB, free: 66.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/1.861, allocations: 84 kB / 0.845 GB, free: 66.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002674/1.861, allocations: 184 kB / 0.8452 GB, free: 66.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007513/1.869, allocations: 1.793 MB / 0.847 GB, free: 64.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01315/1.882, allocations: 2.105 MB / 0.849 GB, free: 62.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02298/1.905, allocations: 12.19 MB / 0.8609 GB, free: 49.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/1.916, allocations: 0.5274 MB / 0.8614 GB, free: 49.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002293/1.918, allocations: 0.5229 MB / 0.8619 GB, free: 48.67 MB / 0.5105 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.008156/1.926, allocations: 3.162 MB / 0.865 GB, free: 45.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/1.928, allocations: 0.5862 MB / 0.8656 GB, free: 44.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02038/1.948, allocations: 7.009 MB / 0.8725 GB, free: 37.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.766e-05/1.948, allocations: 32 kB / 0.8725 GB, free: 37.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.144e-05/1.949, allocations: 11.95 kB / 0.8725 GB, free: 37.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.231e-05/1.949, allocations: 19.92 kB / 0.8725 GB, free: 37.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04394/1.993, allocations: 15.53 MB / 0.8877 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.613e-05/1.993, allocations: 4 kB / 0.8877 GB, free: 22.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005538/1.998, allocations: 0.5616 MB / 0.8882 GB, free: 21.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007004/2.005, allocations: 1.512 MB / 0.8897 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008948/2.006, allocations: 60.56 kB / 0.8898 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02303/2.029, allocations: 11.39 MB / 0.9009 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-06/2.029, allocations: 8.625 kB / 0.9009 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02958/2.059, allocations: 12.25 MB / 0.9129 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005018/2.064, allocations: 1.18 MB / 0.914 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002192/2.066, allocations: 61.41 kB / 0.9141 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00568/2.072, allocations: 207.7 kB / 0.9143 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001334/2.073, allocations: 194.1 kB / 0.9144 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000418/2.074, allocations: 85.7 kB / 0.9145 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01251/2.086, allocations: 4.596 MB / 0.919 GB, free: 5.641 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.01e-07/2.086, allocations: 0 / 0.919 GB, free: 5.641 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01123/2.098, allocations: 1.67 MB / 0.9206 GB, free: 3.977 MB / 0.5261 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.386/2.484, allocations: 13.64 MB / 0.934 GB, free: 179.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02332/2.507, allocations: 8.938 MB / 0.9427 GB, free: 176.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/2.507, allocations: 1.094 kB / 0.9427 GB, free: 176.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01043/2.517, allocations: 3.556 MB / 0.9462 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006112/2.524, allocations: 0.6984 MB / 0.9469 GB, free: 174.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08389/2.608, allocations: 160.1 MB / 1.103 GB, free: 20.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009726/2.617, allocations: 4.948 MB / 1.108 GB, free: 17.03 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007427/2.625, allocations: 3.214 MB / 1.111 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of SimCode: time 2.114e-06/2.625, allocations: 0 / 1.111 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.034/8.659, allocations: 185.4 MB / 1.292 GB, free: 32.8 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat