Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",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.001505/0.001505, allocations: 178.2 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.376/1.376, allocations: 223.2 MB / 241 MB, free: 11.9 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.0009565/0.0009565, allocations: 101.8 kB / 292.1 MB, free: 10.91 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.3556/0.3556, allocations: 44.22 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003445, allocations: 12 kB / 460 MB, free: 1.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3203, allocations: 61.9 MB / 0.5096 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.4655, allocations: 110.4 MB / 0.6174 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.4658, allocations: 83.92 kB / 0.6175 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4826/0.9485, allocations: 83.78 MB / 0.6993 GB, free: 97.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.9485, allocations: 0 / 0.6993 GB, free: 97.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002519/0.9488, allocations: 80.16 kB / 0.6994 GB, free: 97.94 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: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.01428/0.9631, allocations: 4.051 MB / 0.7033 GB, free: 96.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/0.9631, allocations: 9.531 kB / 0.7034 GB, free: 96.14 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003473/0.9666, allocations: 0.7432 MB / 0.7041 GB, free: 96.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01905/0.9857, allocations: 4.343 MB / 0.7083 GB, free: 95.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01438/1, allocations: 4.414 MB / 0.7126 GB, free: 95.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005863/1.001, allocations: 309.8 kB / 0.7129 GB, free: 95.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002751/1.004, allocations: 414.7 kB / 0.7133 GB, free: 95.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02344/1.027, allocations: 9.626 MB / 0.7227 GB, free: 90.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003924/1.027, allocations: 55.28 kB / 0.7228 GB, free: 90.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001841/1.029, allocations: 203.6 kB / 0.723 GB, free: 90.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001549/1.031, allocations: 0.8493 MB / 0.7238 GB, free: 90.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/1.045, allocations: 7.667 MB / 0.7313 GB, free: 88.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04204/1.087, allocations: 43.22 MB / 0.7735 GB, free: 54.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005009/1.092, allocations: 2.404 MB / 0.7758 GB, free: 53.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004174/1.092, allocations: 329.3 kB / 0.7762 GB, free: 52.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/1.092, allocations: 49.77 kB / 0.7762 GB, free: 52.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 6.722e-06/1.092, allocations: 0 / 0.7762 GB, free: 52.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=140): time 0.02613/1.119, allocations: 10.9 MB / 0.7869 GB, free: 47.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/1.119, allocations: 202.4 kB / 0.787 GB, free: 47.76 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005932/1.125, allocations: 3.205 MB / 0.7902 GB, free: 46.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003158/1.125, allocations: 45.45 kB / 0.7902 GB, free: 46.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00207/1.127, allocations: 2.969 MB / 0.7931 GB, free: 44.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007063/1.128, allocations: 0.5588 MB / 0.7937 GB, free: 43.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005032/1.128, allocations: 101.8 kB / 0.7938 GB, free: 43.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004888/1.129, allocations: 0.5294 MB / 0.7943 GB, free: 43.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002839/1.132, allocations: 1.692 MB / 0.7959 GB, free: 42.28 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004188/1.136, allocations: 5.099 MB / 0.8009 GB, free: 35.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003704/1.14, allocations: 2.876 MB / 0.8037 GB, free: 33.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-05/1.14, allocations: 36 kB / 0.8038 GB, free: 33.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=693) (initialization): time 0.01047/1.15, allocations: 6.726 MB / 0.8103 GB, free: 27.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/1.15, allocations: 56.09 kB / 0.8104 GB, free: 27.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001833/1.151, allocations: 127.9 kB / 0.8105 GB, free: 27.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007961/1.151, allocations: 367 kB / 0.8108 GB, free: 26.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003681/1.155, allocations: 1.243 MB / 0.8121 GB, free: 25.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/1.158, allocations: 3.034 MB / 0.815 GB, free: 22.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004197/1.162, allocations: 297.4 kB / 0.8153 GB, free: 22.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/1.163, allocations: 334.9 kB / 0.8156 GB, free: 22.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (655): * Single equations (assignments): 651 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004642/1.168, allocations: 2.046 MB / 0.8176 GB, free: 20.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007397/1.169, allocations: 308 kB / 0.8179 GB, free: 20.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00346/1.172, allocations: 1.809 MB / 0.8197 GB, free: 18.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/1.172, allocations: 16 kB / 0.8197 GB, free: 18.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/1.172, allocations: 4 kB / 0.8197 GB, free: 18.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/1.172, allocations: 11.12 kB / 0.8197 GB, free: 18.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/1.186, allocations: 5.781 MB / 0.8254 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/1.186, allocations: 7.938 kB / 0.8254 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.187, allocations: 219.7 kB / 0.8256 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005446/1.188, allocations: 184.6 kB / 0.8258 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/1.188, allocations: 31.8 kB / 0.8258 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002541/1.19, allocations: 2.595 MB / 0.8283 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.19, allocations: 3.938 kB / 0.8283 GB, free: 9.895 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005261/1.196, allocations: 3.92 MB / 0.8321 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/1.197, allocations: 364.9 kB / 0.8325 GB, free: 5.543 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007367/1.198, allocations: 20.06 kB / 0.8325 GB, free: 5.523 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/1.199, allocations: 83.67 kB / 0.8326 GB, free: 5.445 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/1.2, allocations: 96.5 kB / 0.8327 GB, free: 5.352 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.2, allocations: 40.73 kB / 0.8327 GB, free: 5.312 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004463/1.204, allocations: 2.231 MB / 0.8349 GB, free: 3.094 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.41e-07/1.204, allocations: 0 / 0.8349 GB, free: 3.094 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00603/1.21, allocations: 0.8516 MB / 0.8357 GB, free: 2.242 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (107): * Single equations (assignments): 103 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006527/1.217, allocations: 4.723 MB / 0.8403 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007997/1.225, allocations: 4.082 MB / 0.8443 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.225, allocations: 4 kB / 0.8443 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00207/1.227, allocations: 1.15 MB / 0.8455 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/1.23, allocations: 396.4 kB / 0.8458 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3283/1.558, allocations: 112.4 MB / 0.9556 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003656/1.562, allocations: 3.245 MB / 0.9588 GB, free: 65.53 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004197/1.566, allocations: 1.734 MB / 0.9605 GB, free: 65.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002305/1.568, allocations: 1.75 MB / 0.9622 GB, free: 65.49 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/1.568, allocations: 2.25 kB / 0.9622 GB, free: 65.49 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/1.676, allocations: 65.11 MB / 1.026 GB, free: 48.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/1.676, allocations: 214.4 kB / 1.026 GB, free: 48.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.069/5.746, allocations: 4 kB / 1.026 GB, free: 48.43 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat