Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_3_2_3_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.001072/0.001072, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.545/1.545, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.0009139/0.0009139, allocations: 90.62 kB / 261.7 MB, free: 1.684 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.1973/0.1973, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.058e-05/2.061e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 58.86 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4228/0.5402, allocations: 110.9 MB / 0.5743 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.5405, allocations: 82.52 kB / 0.5744 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8251/1.366, allocations: 232.3 MB / 0.8012 GB, free: 84.76 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.603e-06/1.366, allocations: 3.938 kB / 0.8012 GB, free: 84.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006162/1.366, allocations: 251.4 kB / 0.8015 GB, free: 84.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: 4389 * Number of variables: 4389 Notification: Performance of Generate backend data structure: time 0.03646/1.403, allocations: 12.25 MB / 0.8134 GB, free: 78.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/1.403, allocations: 18.97 kB / 0.8134 GB, free: 78.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05175/1.455, allocations: 12.79 MB / 0.8259 GB, free: 68.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02839/1.483, allocations: 13.24 MB / 0.8389 GB, free: 55.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006911/1.484, allocations: 416 kB / 0.8393 GB, free: 55.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00536/1.489, allocations: 0.7419 MB / 0.84 GB, free: 54.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02992/1.519, allocations: 17.44 MB / 0.857 GB, free: 37.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0592/1.578, allocations: 25.8 MB / 0.8822 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000741/1.579, allocations: 146.6 kB / 0.8824 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005076/1.584, allocations: 68 kB / 0.8824 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004314/1.589, allocations: 2.865 MB / 0.8852 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4153/2.004, allocations: 121 MB / 1.003 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/2.015, allocations: 10.92 MB / 1.014 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008577/2.023, allocations: 7.681 MB / 1.022 GB, free: 20.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/2.025, allocations: 1.094 MB / 1.023 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.693e-05/2.025, allocations: 102.1 kB / 1.023 GB, free: 19.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=552): time 9.618e-06/2.025, allocations: 0 / 1.023 GB, free: 19.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=640): time 0.1162/2.141, allocations: 62.88 MB / 1.084 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002195/2.141, allocations: 379.6 kB / 1.085 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01838/2.16, allocations: 7.935 MB / 1.092 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001809/2.162, allocations: 29.7 kB / 1.092 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.007916/2.17, allocations: 8.558 MB / 1.101 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003846/2.173, allocations: 2.285 MB / 1.103 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001886/2.175, allocations: 0 / 1.103 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001103/2.176, allocations: 0.9752 MB / 1.104 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01218/2.189, allocations: 6.425 MB / 1.11 GB, free: 6.855 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3298/2.519, allocations: 14.91 MB / 1.125 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01781/2.536, allocations: 9.662 MB / 1.134 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007127/2.537, allocations: 85.5 kB / 1.134 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2056) (initialization): time 0.04806/2.585, allocations: 22.63 MB / 1.156 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003226/2.586, allocations: 133.7 kB / 1.156 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004814/2.586, allocations: 299.1 kB / 1.157 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007464/2.594, allocations: 3.309 MB / 1.16 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01456/2.608, allocations: 3.845 MB / 1.164 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02414/2.632, allocations: 21.26 MB / 1.184 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01532/2.648, allocations: 0.6371 MB / 1.185 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005507/2.653, allocations: 0.9046 MB / 1.186 GB, free: 115.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1368 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1938): * Single equations (assignments): 1931 * 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%) 21,(4,75.0%) 21,(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008228/2.661, allocations: 0.8969 MB / 1.187 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02416/2.686, allocations: 13.19 MB / 1.2 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002993/2.689, allocations: 0.9021 MB / 1.201 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02452/2.713, allocations: 13.83 MB / 1.214 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-05/2.713, allocations: 69.38 kB / 1.214 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.133e-05/2.713, allocations: 16.47 kB / 1.214 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001076/2.714, allocations: 34.02 kB / 1.214 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04339/2.757, allocations: 28.85 MB / 1.242 GB, free: 86.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.687e-05/2.757, allocations: 6.953 kB / 1.242 GB, free: 86.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006476/2.763, allocations: 1.259 MB / 1.244 GB, free: 85.51 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006654/2.77, allocations: 2.784 MB / 1.246 GB, free: 83.56 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001246/2.771, allocations: 27.09 kB / 1.246 GB, free: 83.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02072/2.792, allocations: 19.67 MB / 1.266 GB, free: 65.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/2.792, allocations: 11.94 kB / 1.266 GB, free: 65.94 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03112/2.823, allocations: 23.43 MB / 1.288 GB, free: 45.15 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006707/2.83, allocations: 1.93 MB / 1.29 GB, free: 43.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002692/2.833, allocations: 10.81 kB / 1.29 GB, free: 43.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005935/2.839, allocations: 355.1 kB / 1.291 GB, free: 43.18 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001205/2.84, allocations: 406.6 kB / 1.291 GB, free: 42.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004861/2.841, allocations: 164.4 kB / 1.291 GB, free: 42.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.009128/2.85, allocations: 5.372 MB / 1.296 GB, free: 38.14 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.61e-07/2.85, allocations: 1.422 kB / 1.296 GB, free: 38.14 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01498/2.865, allocations: 2.66 MB / 1.299 GB, free: 35.49 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 16 (Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,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 (553): * Single equations (assignments): 546 * 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%) 18,(4,75.0%) 18,(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.3524/3.217, allocations: 24.96 MB / 1.323 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02704/3.244, allocations: 16.33 MB / 1.339 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/3.244, allocations: 0 / 1.339 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01018/3.254, allocations: 6.853 MB / 1.346 GB, free: 120 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006344/3.261, allocations: 0.9592 MB / 1.347 GB, free: 120 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06986/3.331, allocations: 28.57 MB / 1.375 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02045/3.351, allocations: 8.814 MB / 1.384 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0163/3.368, allocations: 5.094 MB / 1.389 GB, free: 112.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01149/3.379, allocations: 6.201 MB / 1.395 GB, free: 107 MB / 0.5573 GB Notification: Performance of SimCode: time 8.52e-07/3.379, allocations: 4 kB / 1.395 GB, free: 107 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6297/4.009, allocations: 214.4 MB / 1.604 GB, free: 99.65 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/4.009, allocations: 131 kB / 1.604 GB, free: 99.46 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.104/13.11, allocations: 0 / 1.604 GB, free: 99.46 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat