Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 221.4 MB / 236 MB, free: 2.922 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 84 kB / 287 MB, free: 204 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2142/0.2142, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.485e-05/3.485e-05, allocations: 4.219 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1435, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4701/0.6136, allocations: 109 MB / 0.6082 GB, free: 12.22 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.614, allocations: 79.95 kB / 0.6083 GB, free: 12.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6301/1.244, allocations: 126.4 MB / 0.7317 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.168e-06/1.244, allocations: 0 / 0.7317 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0007258/1.245, allocations: 133.4 kB / 0.7319 GB, free: 110.9 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.03818/1.283, allocations: 6.363 MB / 0.7381 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.182e-05/1.283, allocations: 13.7 kB / 0.7381 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006301/1.29, allocations: 1.105 MB / 0.7392 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04874/1.338, allocations: 7.073 MB / 0.7461 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03021/1.369, allocations: 6.951 MB / 0.7529 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006795/1.369, allocations: 488.8 kB / 0.7533 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003422/1.373, allocations: 0.6175 MB / 0.7539 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04602/1.419, allocations: 15.62 MB / 0.7692 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003094/1.419, allocations: 88.22 kB / 0.7693 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001243/1.42, allocations: 308.3 kB / 0.7696 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002009/1.422, allocations: 1.465 MB / 0.771 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02429/1.447, allocations: 12.59 MB / 0.7833 GB, free: 99.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06961/1.516, allocations: 70.63 MB / 0.8523 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01718/1.534, allocations: 7.101 MB / 0.8592 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00447/1.538, allocations: 3.559 MB / 0.8627 GB, free: 33.35 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01522/1.553, allocations: 8.801 MB / 0.8713 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/1.554, allocations: 64.28 kB / 0.8713 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=246): time 7.414e-06/1.554, allocations: 0 / 0.8713 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=288): time 0.07464/1.628, allocations: 26.42 MB / 0.8971 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/1.628, allocations: 247.5 kB / 0.8974 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01164/1.64, allocations: 5.867 MB / 0.9031 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008061/1.641, allocations: 69.7 kB / 0.9032 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004347/1.645, allocations: 4.54 MB / 0.9076 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002345/1.648, allocations: 1.096 MB / 0.9087 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/1.649, allocations: 176 kB / 0.9088 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006282/1.649, allocations: 0.6654 MB / 0.9095 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3376/1.987, allocations: 3.216 MB / 0.9126 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/1.998, allocations: 8.223 MB / 0.9207 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/2.009, allocations: 5.103 MB / 0.9256 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004187/2.009, allocations: 50.97 kB / 0.9257 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1101) (initialization): time 0.03125/2.04, allocations: 12.68 MB / 0.9381 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001866/2.041, allocations: 79.12 kB / 0.9382 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002455/2.041, allocations: 177.1 kB / 0.9383 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004116/2.045, allocations: 1.668 MB / 0.94 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007423/2.053, allocations: 2.001 MB / 0.9419 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/2.066, allocations: 11.19 MB / 0.9528 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008617/2.074, allocations: 498.7 kB / 0.9533 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002058/2.077, allocations: 0.5061 MB / 0.9538 GB, free: 105.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 67 (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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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 (1031): * Single equations (assignments): 1026 * 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 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002106/2.079, allocations: 0.7672 MB / 0.9546 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001486/2.08, allocations: 0.5655 MB / 0.9551 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/2.092, allocations: 6.214 MB / 0.9612 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.988e-05/2.092, allocations: 33.33 kB / 0.9612 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-05/2.093, allocations: 10.16 kB / 0.9612 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.273e-05/2.093, allocations: 20.22 kB / 0.9612 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03043/2.123, allocations: 14.16 MB / 0.9751 GB, free: 98.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-05/2.123, allocations: 10.34 kB / 0.9751 GB, free: 98.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00289/2.126, allocations: 0.5251 MB / 0.9756 GB, free: 98.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003423/2.129, allocations: 1.4 MB / 0.977 GB, free: 98.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005107/2.13, allocations: 62.69 kB / 0.977 GB, free: 98.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/2.142, allocations: 10.41 MB / 0.9872 GB, free: 92.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/2.142, allocations: 6.703 kB / 0.9872 GB, free: 92.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/2.156, allocations: 10.96 MB / 0.9979 GB, free: 87.67 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002303/2.159, allocations: 0.6369 MB / 0.9985 GB, free: 87.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001518/2.16, allocations: 52.59 kB / 0.9986 GB, free: 87.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003341/2.164, allocations: 192.2 kB / 0.9988 GB, free: 87.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006248/2.164, allocations: 176.1 kB / 0.9989 GB, free: 87.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002202/2.165, allocations: 80.97 kB / 0.999 GB, free: 87.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009477/2.174, allocations: 4.194 MB / 1.003 GB, free: 85.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.152e-06/2.174, allocations: 0 / 1.003 GB, free: 85.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01234/2.186, allocations: 1.549 MB / 1.005 GB, free: 85.5 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 227 * 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.01561/2.202, allocations: 12.37 MB / 1.017 GB, free: 76.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01342/2.216, allocations: 8.036 MB / 1.025 GB, free: 69.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/2.216, allocations: 0 / 1.025 GB, free: 69.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005605/2.221, allocations: 3.156 MB / 1.028 GB, free: 66.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005551/2.227, allocations: 0.7047 MB / 1.028 GB, free: 65.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04236/2.269, allocations: 14.48 MB / 1.042 GB, free: 53.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008149/2.277, allocations: 4.762 MB / 1.047 GB, free: 49.79 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00827/2.286, allocations: 2.811 MB / 1.05 GB, free: 47.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005479/2.291, allocations: 3.024 MB / 1.053 GB, free: 45.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.173e-06/2.291, allocations: 0 / 1.053 GB, free: 45.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5484/2.84, allocations: 125.9 MB / 1.176 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/2.84, allocations: 162.7 kB / 1.176 GB, free: 113.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.309/10.15, allocations: 0 / 1.176 GB, free: 113.5 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat