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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.3 MB / 213.7 MB, free: 1.723 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008867/0.0008869, allocations: 94.14 kB / 261.7 MB, free: 1.68 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.2168/0.2168, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.634e-05/1.637e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4166/0.533, allocations: 106.9 MB / 0.5704 GB, free: 4.449 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.5332, allocations: 81.98 kB / 0.5705 GB, free: 4.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3184/0.8516, allocations: 126.5 MB / 0.694 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8517, allocations: 0 / 0.694 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003603/0.852, allocations: 136 kB / 0.6942 GB, free: 13.75 MB / 0.4948 GB 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.0221/0.8742, allocations: 6.559 MB / 0.7006 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.8742, allocations: 12.03 kB / 0.7006 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3388/1.213, allocations: 7.114 MB / 0.7075 GB, free: 98.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02268/1.236, allocations: 7.374 MB / 0.7147 GB, free: 98.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006161/1.236, allocations: 211.5 kB / 0.7149 GB, free: 98.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003545/1.24, allocations: 387.7 kB / 0.7153 GB, free: 98.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02231/1.262, allocations: 9.167 MB / 0.7243 GB, free: 98.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02576/1.288, allocations: 14.1 MB / 0.738 GB, free: 94.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003365/1.289, allocations: 89.17 kB / 0.7381 GB, free: 94.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001208/1.29, allocations: 44.09 kB / 0.7382 GB, free: 94.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001865/1.292, allocations: 1.554 MB / 0.7397 GB, free: 94.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06752/1.359, allocations: 69.18 MB / 0.8072 GB, free: 49.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005919/1.365, allocations: 5.35 MB / 0.8125 GB, free: 47.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00386/1.369, allocations: 3.642 MB / 0.816 GB, free: 45.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005547/1.37, allocations: 396.8 kB / 0.8164 GB, free: 45.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/1.37, allocations: 64.19 kB / 0.8165 GB, free: 45.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=272): time 5.571e-06/1.37, allocations: 0 / 0.8165 GB, free: 45.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=316): time 0.05478/1.424, allocations: 28.91 MB / 0.8447 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/1.425, allocations: 246.8 kB / 0.8449 GB, free: 30 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007708/1.432, allocations: 4.683 MB / 0.8495 GB, free: 25.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000796/1.433, allocations: 25.7 kB / 0.8495 GB, free: 25.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002929/1.436, allocations: 4.789 MB / 0.8542 GB, free: 21.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001499/1.438, allocations: 1.153 MB / 0.8553 GB, free: 20.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007384/1.438, allocations: 0 / 0.8553 GB, free: 20.51 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003929/1.439, allocations: 0.6955 MB / 0.856 GB, free: 19.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004478/1.443, allocations: 3.395 MB / 0.8593 GB, free: 16.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008378/1.452, allocations: 8.67 MB / 0.8678 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007642/1.459, allocations: 5.353 MB / 0.873 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000177/1.46, allocations: 52 kB / 0.8731 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.03254/1.492, allocations: 12.67 MB / 0.8854 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001645/1.492, allocations: 87.95 kB / 0.8855 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002922/1.493, allocations: 188 kB / 0.8857 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004144/1.497, allocations: 1.695 MB / 0.8874 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008764/1.506, allocations: 2.185 MB / 0.8895 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01452/1.52, allocations: 10.61 MB / 0.8999 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008545/1.529, allocations: 367.7 kB / 0.9002 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00261/1.531, allocations: 0.544 MB / 0.9007 GB, free: 10.04 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 857 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1125): * Single equations (assignments): 1120 * 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%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003429/1.535, allocations: 0.5883 MB / 0.9013 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01195/1.547, allocations: 6.483 MB / 0.9076 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001613/1.548, allocations: 0.5013 MB / 0.9081 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3049/1.853, allocations: 6.61 MB / 0.9146 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.009e-05/1.853, allocations: 33.59 kB / 0.9146 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.91e-05/1.853, allocations: 8.594 kB / 0.9146 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.451e-05/1.854, allocations: 17.45 kB / 0.9146 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0306/1.884, allocations: 13.77 MB / 0.9281 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.14e-05/1.884, allocations: 2.188 kB / 0.9281 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002949/1.887, allocations: 0.5622 MB / 0.9286 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003515/1.891, allocations: 1.39 MB / 0.93 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004288/1.891, allocations: 11.62 kB / 0.93 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/1.902, allocations: 9.777 MB / 0.9396 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.902, allocations: 7.406 kB / 0.9396 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01419/1.916, allocations: 11.01 MB / 0.9503 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002547/1.919, allocations: 1.032 MB / 0.9513 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009952/1.92, allocations: 10.16 kB / 0.9513 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002773/1.922, allocations: 170.8 kB / 0.9515 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004317/1.923, allocations: 182.6 kB / 0.9517 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002186/1.923, allocations: 86.12 kB / 0.9517 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005779/1.929, allocations: 3.16 MB / 0.9548 GB, free: 110 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/1.929, allocations: 0 / 0.9548 GB, free: 110 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009212/1.938, allocations: 1.408 MB / 0.9562 GB, free: 110 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 254 * 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.01637/1.955, allocations: 12.13 MB / 0.9681 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01428/1.969, allocations: 8.546 MB / 0.9764 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/1.969, allocations: 2.344 kB / 0.9764 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00497/1.974, allocations: 3.339 MB / 0.9797 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/1.977, allocations: 0.528 MB / 0.9802 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02814/2.005, allocations: 14.74 MB / 0.9946 GB, free: 98.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004678/2.01, allocations: 4.943 MB / 0.9994 GB, free: 96.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007119/2.017, allocations: 2.974 MB / 1.002 GB, free: 96.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005015/2.022, allocations: 3.109 MB / 1.005 GB, free: 93.87 MB / 0.5261 GB Notification: Performance of SimCode: time 3.898e-06/2.022, allocations: 0 / 1.005 GB, free: 93.87 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4424/2.465, allocations: 115.4 MB / 1.118 GB, free: 86.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001221/2.465, allocations: 122 kB / 1.118 GB, free: 86.22 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.615/8.08, allocations: 0 / 1.118 GB, free: 86.22 MB / 0.5261 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) 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