Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.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.Force2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force2",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.001105/0.001105, allocations: 176.8 kB / 17.06 MB, free: 5.094 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.276/1.276, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008702/0.0008702, allocations: 100.9 kB / 292.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3353/0.3353, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002878, allocations: 8 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.29, allocations: 61.91 MB / 0.5096 GB, free: 38.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.4249, allocations: 112.4 MB / 0.6194 GB, free: 14.69 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.4252, allocations: 87.91 kB / 0.6194 GB, free: 14.61 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8044/1.23, allocations: 222.4 MB / 0.8366 GB, free: 7.844 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.547e-06/1.23, allocations: 0 / 0.8366 GB, free: 7.844 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0009628/1.231, allocations: 239.9 kB / 0.8368 GB, free: 7.609 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: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.06187/1.293, allocations: 12.5 MB / 0.8491 GB, free: 11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.144e-05/1.293, allocations: 8.031 kB / 0.8491 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01229/1.305, allocations: 1.993 MB / 0.851 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05513/1.36, allocations: 12.6 MB / 0.8633 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3456/1.706, allocations: 12.26 MB / 0.8753 GB, free: 56.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001199/1.707, allocations: 0.8766 MB / 0.8761 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004895/1.712, allocations: 1.169 MB / 0.8773 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06508/1.777, allocations: 28.18 MB / 0.9048 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009867/1.778, allocations: 143.9 kB / 0.9049 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005511/1.784, allocations: 0.5396 MB / 0.9055 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005547/1.789, allocations: 2.58 MB / 0.908 GB, free: 50.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05319/1.842, allocations: 22.87 MB / 0.9303 GB, free: 50.06 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1538/1.996, allocations: 120.2 MB / 1.048 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03842/2.035, allocations: 13.92 MB / 1.061 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0379/2.073, allocations: 17.77 MB / 1.079 GB, free: 9.633 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.533e-05/2.073, allocations: 89.12 kB / 1.079 GB, free: 9.543 MB / 0.573 GB Notification: Performance of pre-optimization done (n=469): time 7.384e-06/2.073, allocations: 4 kB / 1.079 GB, free: 9.539 MB / 0.573 GB Notification: Performance of matching and sorting (n=553): time 0.5405/2.613, allocations: 64.83 MB / 1.142 GB, free: 106.6 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/2.614, allocations: 372.1 kB / 1.142 GB, free: 106.2 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02024/2.634, allocations: 10.22 MB / 1.152 GB, free: 105.5 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002051/2.636, allocations: 111.4 kB / 1.153 GB, free: 105.5 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006543/2.643, allocations: 7.854 MB / 1.16 GB, free: 101.8 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002904/2.645, allocations: 2.055 MB / 1.162 GB, free: 100.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001621/2.647, allocations: 283.4 kB / 1.162 GB, free: 100.6 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0007799/2.648, allocations: 0.8986 MB / 1.163 GB, free: 100.3 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009451/2.657, allocations: 5.879 MB / 1.169 GB, free: 100.3 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01681/2.674, allocations: 13.7 MB / 1.182 GB, free: 89.77 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01523/2.689, allocations: 8.79 MB / 1.191 GB, free: 86.72 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003932/2.69, allocations: 83.25 kB / 1.191 GB, free: 86.72 MB / 0.573 GB Notification: Performance of matching and sorting (n=1816) (initialization): time 0.04453/2.734, allocations: 22.35 MB / 1.213 GB, free: 79.58 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002646/2.735, allocations: 127.6 kB / 1.213 GB, free: 79.58 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004622/2.735, allocations: 275.2 kB / 1.213 GB, free: 79.58 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007921/2.743, allocations: 3.263 MB / 1.217 GB, free: 78.91 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01222/2.755, allocations: 3.373 MB / 1.22 GB, free: 76.07 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02476/2.78, allocations: 23.06 MB / 1.242 GB, free: 55.47 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02088/2.801, allocations: 0.8294 MB / 1.243 GB, free: 54.78 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005523/2.807, allocations: 0.808 MB / 1.244 GB, free: 54 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1252 * Number of states: 0 () * Number of discrete variables: 138 (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.torqueArrow.arrowLine.twoHeadedArrow,force4.torqueArrow.headAtOrigin,force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceArrow.arrowLine.twoHeadedArrow,force4.forceArrow.headAtOrigin,force4.forceArrow.color[3],force4.forceArrow.color[2],force4.forceArrow.color[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueArrow.arrowLine.twoHeadedArrow,force3.torqueArrow.headAtOrigin,force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceArrow.arrowLine.twoHeadedArrow,force3.forceArrow.headAtOrigin,force3.forceArrow.color[3],force3.forceArrow.color[2],force3.forceArrow.color[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.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1698): * Single equations (assignments): 1691 * 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.02/2.827, allocations: 5.284 MB / 1.249 GB, free: 49.37 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004472/2.831, allocations: 1.003 MB / 1.25 GB, free: 48.36 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03378/2.865, allocations: 12.77 MB / 1.263 GB, free: 38.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001146/2.865, allocations: 56 kB / 1.263 GB, free: 38.04 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.778e-05/2.865, allocations: 23.06 kB / 1.263 GB, free: 38.02 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001689/2.866, allocations: 25.45 kB / 1.263 GB, free: 38.02 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09194/2.957, allocations: 28.95 MB / 1.291 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001131/2.958, allocations: 11.12 kB / 1.291 GB, free: 14.78 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009024/2.967, allocations: 1.102 MB / 1.292 GB, free: 13.94 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01097/2.978, allocations: 2.822 MB / 1.295 GB, free: 11.99 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001753/2.98, allocations: 100 kB / 1.295 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4384/3.418, allocations: 21.65 MB / 1.316 GB, free: 95.38 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/3.418, allocations: 19.09 kB / 1.316 GB, free: 95.38 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03991/3.458, allocations: 22.88 MB / 1.338 GB, free: 90.55 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00542/3.464, allocations: 1.096 MB / 1.339 GB, free: 90.46 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004966/3.469, allocations: 99.19 kB / 1.34 GB, free: 90.46 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008139/3.477, allocations: 383.7 kB / 1.34 GB, free: 90.46 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002357/3.479, allocations: 363 kB / 1.34 GB, free: 90.45 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008952/3.48, allocations: 143 kB / 1.34 GB, free: 90.45 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01942/3.499, allocations: 7.4 MB / 1.348 GB, free: 90.16 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.71e-07/3.499, allocations: 0 / 1.348 GB, free: 90.16 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01919/3.519, allocations: 2.802 MB / 1.35 GB, free: 90.16 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (463): * Single equations (assignments): 456 * 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.0345/3.553, allocations: 24.08 MB / 1.374 GB, free: 83.46 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02402/3.577, allocations: 14.78 MB / 1.388 GB, free: 78.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.082e-05/3.577, allocations: 3.375 kB / 1.388 GB, free: 78.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01076/3.588, allocations: 6.304 MB / 1.394 GB, free: 76.42 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01158/3.6, allocations: 1.326 MB / 1.396 GB, free: 75.89 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6514/4.251, allocations: 321.3 MB / 1.709 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01994/4.271, allocations: 8.16 MB / 1.717 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01687/4.288, allocations: 4.669 MB / 1.722 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01506/4.303, allocations: 5.808 MB / 1.728 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of SimCode: time 3.657e-06/4.303, allocations: 0 / 1.728 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7286/5.032, allocations: 222.9 MB / 1.945 GB, free: 83.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001316/5.032, allocations: 201.2 kB / 1.946 GB, free: 83.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/17.46, allocations: 0 / 1.946 GB, free: 83.45 MB / 0.6355 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat