Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.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.Force2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force2",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.00227/0.002269, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.071/2.071, 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.001093/0.001093, allocations: 91.45 kB / 270.9 MB, free: 8.359 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.5587/0.5587, allocations: 43.55 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007094/0.0007094, allocations: 20 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1373, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5183/0.6557, allocations: 111.6 MB / 0.5878 GB, free: 6.895 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/0.6561, allocations: 79.95 kB / 0.5879 GB, free: 6.816 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.273/1.929, allocations: 238 MB / 0.8203 GB, free: 28.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.116e-06/1.93, allocations: 0 / 0.8203 GB, free: 28.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008827/1.93, allocations: 256 kB / 0.8206 GB, free: 27.77 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: 4389 * Number of variables: 4389 Notification: Performance of Generate backend data structure: time 0.06321/1.994, allocations: 13.25 MB / 0.8335 GB, free: 14.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/1.994, allocations: 19.95 kB / 0.8335 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01068/2.004, allocations: 2.167 MB / 0.8356 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09577/2.1, allocations: 12.78 MB / 0.8481 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0536/2.154, allocations: 13.3 MB / 0.8611 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001599/2.156, allocations: 0.9505 MB / 0.862 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4089/2.564, allocations: 1.254 MB / 0.8633 GB, free: 53.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1052/2.67, allocations: 30.28 MB / 0.8928 GB, free: 47.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001137/2.671, allocations: 143.8 kB / 0.893 GB, free: 47.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006795/2.678, allocations: 0.5858 MB / 0.8935 GB, free: 47.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007274/2.685, allocations: 2.866 MB / 0.8963 GB, free: 47.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08785/2.773, allocations: 24.88 MB / 0.9206 GB, free: 47.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.236/3.009, allocations: 127.4 MB / 1.045 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08179/3.091, allocations: 15.44 MB / 1.06 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4732/3.564, allocations: 20.22 MB / 1.08 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/3.564, allocations: 95.72 kB / 1.08 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=566): time 1.108e-05/3.564, allocations: 1.188 kB / 1.08 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=650): time 0.319/3.883, allocations: 69.68 MB / 1.148 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001873/3.884, allocations: 377.8 kB / 1.148 GB, free: 100 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03179/3.915, allocations: 10.67 MB / 1.159 GB, free: 99.25 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002062/3.917, allocations: 125.6 kB / 1.159 GB, free: 99.22 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.007902/3.925, allocations: 7.89 MB / 1.167 GB, free: 95.14 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004293/3.93, allocations: 2.389 MB / 1.169 GB, free: 93.73 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003741/3.934, allocations: 309.4 kB / 1.169 GB, free: 93.73 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.002159/3.936, allocations: 0.9608 MB / 1.17 GB, free: 93.38 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01881/3.955, allocations: 6.759 MB / 1.177 GB, free: 91.84 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02481/3.979, allocations: 15.04 MB / 1.191 GB, free: 78.55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02445/4.004, allocations: 9.886 MB / 1.201 GB, free: 75.04 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003645/4.004, allocations: 82.56 kB / 1.201 GB, free: 75.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1998) (initialization): time 0.07175/4.076, allocations: 24.2 MB / 1.225 GB, free: 57.44 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002418/4.076, allocations: 131.6 kB / 1.225 GB, free: 57.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000555/4.077, allocations: 292 kB / 1.225 GB, free: 57.03 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01427/4.091, allocations: 3.283 MB / 1.228 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02705/4.118, allocations: 3.745 MB / 1.232 GB, free: 51.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04577/4.164, allocations: 23.12 MB / 1.255 GB, free: 30.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0205/4.185, allocations: 0.9306 MB / 1.256 GB, free: 30 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004686/4.19, allocations: 0.8764 MB / 1.256 GB, free: 29.15 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1320 * Number of states: 0 () * Number of discrete variables: 120 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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 (1880): * Single equations (assignments): 1873 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0184/4.208, allocations: 5.672 MB / 1.262 GB, free: 24.17 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004599/4.213, allocations: 1.068 MB / 1.263 GB, free: 23.09 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04818/4.261, allocations: 14.8 MB / 1.277 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001015/4.261, allocations: 64 kB / 1.278 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.98e-05/4.261, allocations: 16 kB / 1.278 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001662/4.261, allocations: 32.17 kB / 1.278 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5538/4.815, allocations: 32.68 MB / 1.309 GB, free: 94.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001312/4.815, allocations: 14.28 kB / 1.31 GB, free: 94.85 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01377/4.829, allocations: 1.307 MB / 1.311 GB, free: 94.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01382/4.843, allocations: 2.823 MB / 1.314 GB, free: 94.81 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002146/4.845, allocations: 124.2 kB / 1.314 GB, free: 94.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04914/4.894, allocations: 21.67 MB / 1.335 GB, free: 89.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.44e-05/4.894, allocations: 14.84 kB / 1.335 GB, free: 89.46 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.064/4.958, allocations: 26.38 MB / 1.361 GB, free: 80.76 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009453/4.968, allocations: 2.189 MB / 1.363 GB, free: 80.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004695/4.973, allocations: 125.9 kB / 1.363 GB, free: 80.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01206/4.985, allocations: 450 kB / 1.363 GB, free: 80.05 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002866/4.988, allocations: 411.7 kB / 1.364 GB, free: 79.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001193/4.989, allocations: 173.9 kB / 1.364 GB, free: 79.95 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.02211/5.011, allocations: 7.715 MB / 1.371 GB, free: 77.43 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.41e-07/5.011, allocations: 0 / 1.371 GB, free: 77.43 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02116/5.032, allocations: 3.096 MB / 1.374 GB, free: 77.09 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.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 (559): * Single equations (assignments): 552 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(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.06744/5.1, allocations: 27.54 MB / 1.401 GB, free: 63.43 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.04093/5.141, allocations: 16.76 MB / 1.418 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.72e-05/5.141, allocations: 4 kB / 1.418 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02182/5.163, allocations: 7.196 MB / 1.425 GB, free: 47.54 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01274/5.175, allocations: 1.33 MB / 1.426 GB, free: 46.43 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8938/6.069, allocations: 345.9 MB / 1.764 GB, free: 24.65 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0251/6.094, allocations: 8.788 MB / 1.772 GB, free: 23.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01935/6.114, allocations: 6.436 MB / 1.779 GB, free: 22.75 MB / 0.7136 GB Notification: Performance of SimCode: time 1.563e-06/6.114, allocations: 2.781 kB / 1.779 GB, free: 22.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.372/15.49, allocations: 447.1 MB / 2.215 GB, free: 191.9 MB / 0.7136 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat