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.00172/0.00172, allocations: 183.6 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009301/0.00093, allocations: 91.81 kB / 267.1 MB, free: 9.273 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.4093/0.4093, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.962e-05/3.964e-05, allocations: 4 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1489, allocations: 58.85 MB / 484.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5045/0.6535, allocations: 111.5 MB / 0.5818 GB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.6538, allocations: 79.45 kB / 0.5819 GB, free: 10.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9645/1.618, allocations: 238.3 MB / 0.8146 GB, free: 63.22 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.775e-06/1.618, allocations: 0 / 0.8146 GB, free: 63.22 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0007466/1.619, allocations: 262.2 kB / 0.8148 GB, free: 63.21 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.04566/1.665, allocations: 12.25 MB / 0.8268 GB, free: 55.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/1.665, allocations: 10.53 kB / 0.8268 GB, free: 55.32 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01197/1.677, allocations: 2.167 MB / 0.8289 GB, free: 53.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05439/1.731, allocations: 12.79 MB / 0.8414 GB, free: 41.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03692/1.768, allocations: 13.26 MB / 0.8543 GB, free: 27.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001529/1.77, allocations: 0.9466 MB / 0.8553 GB, free: 26.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008789/1.779, allocations: 1.257 MB / 0.8565 GB, free: 25.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08505/1.864, allocations: 30.05 MB / 0.8858 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001002/1.865, allocations: 146.6 kB / 0.886 GB, free: 9.281 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006481/1.871, allocations: 0.5818 MB / 0.8865 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005084/1.876, allocations: 2.864 MB / 0.8893 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4633/2.34, allocations: 24.51 MB / 0.9133 GB, free: 70.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.175/2.515, allocations: 127.4 MB / 1.038 GB, free: 26.97 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03676/2.552, allocations: 14.9 MB / 1.052 GB, free: 22.95 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01027/2.562, allocations: 8.107 MB / 1.06 GB, free: 19.59 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03339/2.595, allocations: 20.21 MB / 1.08 GB, free: 6.312 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.263e-05/2.595, allocations: 96.75 kB / 1.08 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=566): time 8.867e-06/2.595, allocations: 0 / 1.08 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of matching and sorting (n=650): time 0.5924/3.188, allocations: 61.18 MB / 1.14 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/3.188, allocations: 376.9 kB / 1.14 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02159/3.21, allocations: 10.54 MB / 1.15 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001693/3.211, allocations: 125.2 kB / 1.151 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.007033/3.218, allocations: 8.436 MB / 1.159 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004171/3.223, allocations: 2.389 MB / 1.161 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00277/3.225, allocations: 312.2 kB / 1.161 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001156/3.227, allocations: 0.9572 MB / 1.162 GB, free: 104.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01371/3.24, allocations: 6.612 MB / 1.169 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0182/3.258, allocations: 14.91 MB / 1.183 GB, free: 93.59 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01608/3.275, allocations: 9.831 MB / 1.193 GB, free: 91.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004891/3.275, allocations: 83.38 kB / 1.193 GB, free: 91.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1998) (initialization): time 0.05071/3.326, allocations: 24.39 MB / 1.217 GB, free: 83.27 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002649/3.326, allocations: 127.4 kB / 1.217 GB, free: 83.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005254/3.327, allocations: 290.3 kB / 1.217 GB, free: 83.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008311/3.335, allocations: 3.279 MB / 1.22 GB, free: 82.67 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01506/3.35, allocations: 3.747 MB / 1.224 GB, free: 82.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02613/3.376, allocations: 22.47 MB / 1.246 GB, free: 68.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.018/3.394, allocations: 0.9248 MB / 1.247 GB, free: 67.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004382/3.399, allocations: 0.8805 MB / 1.248 GB, free: 66.8 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 () * 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.006837/3.406, allocations: 1.259 MB / 1.249 GB, free: 65.54 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003844/3.409, allocations: 1.068 MB / 1.25 GB, free: 64.46 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03089/3.44, allocations: 14.65 MB / 1.264 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.662e-05/3.44, allocations: 64 kB / 1.264 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.563e-05/3.441, allocations: 27.52 kB / 1.264 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001385/3.441, allocations: 34.27 kB / 1.264 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0668/3.507, allocations: 32.4 MB / 1.296 GB, free: 26.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001023/3.508, allocations: 12 kB / 1.296 GB, free: 26.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007486/3.515, allocations: 1.31 MB / 1.297 GB, free: 25.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007702/3.523, allocations: 2.812 MB / 1.3 GB, free: 23.36 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001952/3.525, allocations: 126.8 kB / 1.3 GB, free: 23.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3529/3.878, allocations: 21.06 MB / 1.321 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.401e-05/3.878, allocations: 22.56 kB / 1.321 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04591/3.924, allocations: 26.13 MB / 1.346 GB, free: 97.46 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007636/3.931, allocations: 2.183 MB / 1.349 GB, free: 97.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005177/3.937, allocations: 120.7 kB / 1.349 GB, free: 97.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008557/3.945, allocations: 453.7 kB / 1.349 GB, free: 97.36 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002397/3.948, allocations: 414 kB / 1.349 GB, free: 97.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001729/3.949, allocations: 172.1 kB / 1.35 GB, free: 97.35 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01904/3.969, allocations: 7.605 MB / 1.357 GB, free: 96.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.51e-07/3.969, allocations: 7.125 kB / 1.357 GB, free: 96.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02102/3.99, allocations: 3.086 MB / 1.36 GB, free: 96.98 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 () * 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.04137/4.031, allocations: 27.29 MB / 1.387 GB, free: 88.02 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02997/4.061, allocations: 16.53 MB / 1.403 GB, free: 82.68 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.056e-05/4.061, allocations: 3.812 kB / 1.403 GB, free: 82.68 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01489/4.076, allocations: 7.079 MB / 1.41 GB, free: 79.99 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01233/4.088, allocations: 1.338 MB / 1.411 GB, free: 79.43 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08636/4.175, allocations: 29.66 MB / 1.44 GB, free: 62.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02233/4.197, allocations: 8.79 MB / 1.449 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01768/4.215, allocations: 5.14 MB / 1.454 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01628/4.231, allocations: 6.331 MB / 1.46 GB, free: 46.62 MB / 0.5573 GB Notification: Performance of SimCode: time 1.663e-06/4.231, allocations: 0 / 1.46 GB, free: 46.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7304/4.962, allocations: 238.2 MB / 1.692 GB, free: 26.03 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/4.962, allocations: 168.3 kB / 1.693 GB, free: 25.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.05/21.02, allocations: 1.969 kB / 1.693 GB, free: 25.8 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