Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",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.001713/0.001713, allocations: 182.8 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.775/1.775, 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.0009931/0.0009928, allocations: 88.47 kB / 267 MB, free: 9.289 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.4221/0.4221, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.581e-05, allocations: 4 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1456, allocations: 58.83 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4944/0.64, allocations: 110 MB / 0.5804 GB, free: 11.78 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.6403, allocations: 78.78 kB / 0.5804 GB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2335/0.8739, allocations: 91.46 MB / 0.6698 GB, free: 9.012 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.8739, allocations: 0 / 0.6698 GB, free: 9.012 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002286/0.8742, allocations: 80 kB / 0.6698 GB, free: 8.934 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: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.01584/0.89, allocations: 4.16 MB / 0.6739 GB, free: 4.707 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.8901, allocations: 8.031 kB / 0.6739 GB, free: 4.699 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003229/0.8933, allocations: 0.8361 MB / 0.6747 GB, free: 3.852 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01888/0.9122, allocations: 4.428 MB / 0.679 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01389/0.9261, allocations: 4.751 MB / 0.6837 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004287/0.9266, allocations: 357.1 kB / 0.684 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002608/0.9292, allocations: 467.7 kB / 0.6845 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.393/1.322, allocations: 10.56 MB / 0.6948 GB, free: 92.24 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002456/1.323, allocations: 61.25 kB / 0.6948 GB, free: 92.24 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001118/1.324, allocations: 220.5 kB / 0.695 GB, free: 92.24 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001951/1.326, allocations: 0.9895 MB / 0.696 GB, free: 92.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01974/1.345, allocations: 8.46 MB / 0.7043 GB, free: 92.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05739/1.403, allocations: 46.98 MB / 0.7502 GB, free: 63.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005406/1.408, allocations: 2.924 MB / 0.753 GB, free: 63.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002033/1.41, allocations: 1.582 MB / 0.7546 GB, free: 63.06 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003849/1.411, allocations: 336.8 kB / 0.7549 GB, free: 62.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/1.411, allocations: 58.12 kB / 0.7549 GB, free: 62.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=176): time 3.897e-06/1.411, allocations: 0 / 0.7549 GB, free: 62.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=194): time 0.02368/1.434, allocations: 11.29 MB / 0.766 GB, free: 57.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.912e-05/1.435, allocations: 205.1 kB / 0.7661 GB, free: 57.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006061/1.441, allocations: 3.369 MB / 0.7694 GB, free: 56.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004116/1.441, allocations: 51.2 kB / 0.7695 GB, free: 56.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002087/1.443, allocations: 3.227 MB / 0.7726 GB, free: 54.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009458/1.444, allocations: 0.7417 MB / 0.7734 GB, free: 53.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/1.444, allocations: 119.3 kB / 0.7735 GB, free: 53.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000334/1.445, allocations: 0.5609 MB / 0.774 GB, free: 53.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003426/1.448, allocations: 1.994 MB / 0.776 GB, free: 52.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004675/1.453, allocations: 5.671 MB / 0.7815 GB, free: 46.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004934/1.458, allocations: 3.33 MB / 0.7848 GB, free: 45.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.832e-05/1.458, allocations: 41.84 kB / 0.7848 GB, free: 45.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01489/1.473, allocations: 7.648 MB / 0.7923 GB, free: 42.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.733e-05/1.473, allocations: 59.59 kB / 0.7923 GB, free: 42.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001622/1.473, allocations: 128.9 kB / 0.7925 GB, free: 42.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008273/1.474, allocations: 394.7 kB / 0.7928 GB, free: 42.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005217/1.479, allocations: 1.426 MB / 0.7942 GB, free: 42.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/1.483, allocations: 2.999 MB / 0.7971 GB, free: 40.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006198/1.489, allocations: 353.6 kB / 0.7975 GB, free: 40.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/1.49, allocations: 371.3 kB / 0.7978 GB, free: 40.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (747): * Single equations (assignments): 743 * 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.001081/1.491, allocations: 0.5659 MB / 0.7984 GB, free: 39.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008321/1.492, allocations: 340.8 kB / 0.7987 GB, free: 39.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004202/1.496, allocations: 2.626 MB / 0.8013 GB, free: 38.67 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/1.496, allocations: 24.34 kB / 0.8013 GB, free: 38.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/1.496, allocations: 5.828 kB / 0.8013 GB, free: 38.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/1.496, allocations: 10.22 kB / 0.8013 GB, free: 38.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/1.514, allocations: 7.445 MB / 0.8086 GB, free: 35.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/1.514, allocations: 3.875 kB / 0.8086 GB, free: 35.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/1.515, allocations: 353 kB / 0.8089 GB, free: 35.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004906/1.516, allocations: 185.5 kB / 0.8091 GB, free: 35.87 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/1.516, allocations: 35.45 kB / 0.8091 GB, free: 35.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002359/1.518, allocations: 2.551 MB / 0.8116 GB, free: 33.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.518, allocations: 5.156 kB / 0.8116 GB, free: 33.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006245/1.525, allocations: 5.164 MB / 0.8167 GB, free: 31.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001878/1.526, allocations: 0.6241 MB / 0.8173 GB, free: 31.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000398/1.527, allocations: 30.19 kB / 0.8173 GB, free: 31.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/1.528, allocations: 114.8 kB / 0.8174 GB, free: 31.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003307/1.529, allocations: 134.7 kB / 0.8176 GB, free: 31.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/1.529, allocations: 52.28 kB / 0.8176 GB, free: 31.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004003/1.533, allocations: 2.337 MB / 0.8199 GB, free: 30.47 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.81e-07/1.533, allocations: 0 / 0.8199 GB, free: 30.47 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005778/1.539, allocations: 0.9923 MB / 0.8209 GB, free: 30.35 MB / 0.4948 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 160 * 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.006459/1.545, allocations: 5.984 MB / 0.8267 GB, free: 27.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008195/1.553, allocations: 4.885 MB / 0.8315 GB, free: 25.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.553, allocations: 0 / 0.8315 GB, free: 25.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002069/1.555, allocations: 1.532 MB / 0.833 GB, free: 25.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/1.558, allocations: 396.3 kB / 0.8333 GB, free: 24.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02218/1.58, allocations: 9.166 MB / 0.8423 GB, free: 17.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003541/1.584, allocations: 3.556 MB / 0.8458 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005126/1.589, allocations: 1.948 MB / 0.8477 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002688/1.592, allocations: 2.006 MB / 0.8496 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of SimCode: time 1.182e-06/1.592, allocations: 0 / 0.8496 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5163/2.108, allocations: 75.19 MB / 0.9231 GB, free: 96.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/2.108, allocations: 186.2 kB / 0.9232 GB, free: 96.33 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.021/6.129, allocations: 1.312 kB / 0.9232 GB, free: 96.33 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat