Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001213/0.001213, allocations: 97.45 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001641/0.001641, allocations: 207.2 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2531/0.2531, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002952/0.0002953, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1649, allocations: 63.46 MB / 481.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3806/0.5457, allocations: 44.42 MB / 0.5136 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02931/0.575, allocations: 10.82 MB / 0.5242 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01578/0.5909, allocations: 216.1 kB / 0.5244 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0103/0.6012, allocations: 2.236 MB / 0.5266 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02988/0.6311, allocations: 6.434 MB / 0.5329 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004271/0.6354, allocations: 0.5933 MB / 0.5334 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03528/0.6707, allocations: 24.82 MB / 0.5577 GB, free: 9.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006599/0.6773, allocations: 4.188 MB / 0.5618 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002012/0.6794, allocations: 0.9148 MB / 0.5627 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.6813, allocations: 1.222 MB / 0.5639 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004168/0.6817, allocations: 132 kB / 0.564 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.6835, allocations: 0.8895 MB / 0.5648 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001373/0.6849, allocations: 1.469 MB / 0.5663 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008744/0.6858, allocations: 0.7961 MB / 0.5671 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006496/0.6923, allocations: 5.553 MB / 0.5725 GB, free: 10.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6924, allocations: 0 / 0.5725 GB, free: 10.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.6924, allocations: 0 / 0.5725 GB, free: 10.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000209/0.6926, allocations: 0 / 0.5725 GB, free: 10.18 MB / 414.1 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.0109/0.7035, allocations: 3.936 MB / 0.5763 GB, free: 6.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.7036, allocations: 8.031 kB / 0.5763 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00233/0.7059, allocations: 0.6907 MB / 0.577 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08256/0.7885, allocations: 8.421 MB / 0.5852 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006864/0.7954, allocations: 2.546 MB / 0.5877 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002411/0.7957, allocations: 225.8 kB / 0.5879 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/0.797, allocations: 299.8 kB / 0.5882 GB, free: 9.906 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01561/0.8127, allocations: 9.255 MB / 0.5973 GB, free: 16 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001505/0.8128, allocations: 39.7 kB / 0.5973 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004412/0.8133, allocations: 143.9 kB / 0.5974 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002883/0.8162, allocations: 1.841 MB / 0.5992 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01454/0.8307, allocations: 7.6 MB / 0.6067 GB, free: 6.359 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04447/0.8753, allocations: 34.73 MB / 0.6406 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004688/0.88, allocations: 2.393 MB / 0.6429 GB, free: 16 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003798/0.8804, allocations: 335.6 kB / 0.6432 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.8804, allocations: 55.05 kB / 0.6433 GB, free: 15.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 3.797e-06/0.8805, allocations: 0 / 0.6433 GB, free: 15.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=140): time 0.02553/0.906, allocations: 11.18 MB / 0.6542 GB, free: 4.211 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.972e-05/0.9061, allocations: 196.6 kB / 0.6544 GB, free: 3.977 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004698/0.9108, allocations: 3.741 MB / 0.658 GB, free: 244 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002804/0.9111, allocations: 45.7 kB / 0.6581 GB, free: 192 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001819/0.9129, allocations: 2.954 MB / 0.661 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006206/0.9136, allocations: 0.5595 MB / 0.6615 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.9138, allocations: 107.9 kB / 0.6616 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002854/0.9141, allocations: 0.5292 MB / 0.6621 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/0.9167, allocations: 1.716 MB / 0.6638 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004932/0.9216, allocations: 5.119 MB / 0.6688 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00435/0.926, allocations: 2.9 MB / 0.6716 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.832e-05/0.9261, allocations: 32 kB / 0.6717 GB, free: 496 kB / 0.4981 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01208/0.9382, allocations: 6.816 MB / 0.6783 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.69e-05/0.9383, allocations: 59.98 kB / 0.6784 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/0.9385, allocations: 124 kB / 0.6785 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009359/0.9394, allocations: 449 kB / 0.6789 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003838/0.9433, allocations: 1.236 MB / 0.6801 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/0.947, allocations: 3.382 MB / 0.6834 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003806/0.9509, allocations: 311.6 kB / 0.6837 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006511/0.9516, allocations: 332 kB / 0.6841 GB, free: 3.66 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (653): * Single equations (assignments): 649 * 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.003059/0.9546, allocations: 2.034 MB / 0.686 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005376/0.9552, allocations: 308 kB / 0.6863 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003256/0.9584, allocations: 1.941 MB / 0.6882 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/0.9585, allocations: 16 kB / 0.6882 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.9585, allocations: 4 kB / 0.6882 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.9585, allocations: 3.984 kB / 0.6882 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.9688, allocations: 5.979 MB / 0.6941 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.9688, allocations: 0 / 0.6941 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.9699, allocations: 227.7 kB / 0.6943 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007082/0.9706, allocations: 260.5 kB / 0.6946 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.9707, allocations: 23.97 kB / 0.6946 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003276/0.974, allocations: 2.979 MB / 0.6975 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.974, allocations: 0 / 0.6975 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006121/0.9801, allocations: 4.073 MB / 0.7015 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009617/0.9812, allocations: 368.9 kB / 0.7018 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003324/0.9815, allocations: 20.06 kB / 0.7018 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.9827, allocations: 87.91 kB / 0.7019 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/0.9829, allocations: 100.5 kB / 0.702 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.9831, allocations: 47.92 kB / 0.7021 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00359/0.9867, allocations: 2.344 MB / 0.7043 GB, free: 14.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9867, allocations: 0 / 0.7043 GB, free: 14.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004416/0.9911, allocations: 0.8672 MB / 0.7052 GB, free: 13.71 MB / 0.545 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 () * 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.005997/0.9971, allocations: 4.892 MB / 0.71 GB, free: 8.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006379/1.004, allocations: 4.127 MB / 0.714 GB, free: 4.664 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.004, allocations: 0 / 0.714 GB, free: 4.664 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001665/1.005, allocations: 1.193 MB / 0.7152 GB, free: 3.457 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/1.007, allocations: 384.7 kB / 0.7155 GB, free: 3.082 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3033/1.31, allocations: 112.7 MB / 0.8256 GB, free: 100.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003308/1.314, allocations: 3.248 MB / 0.8287 GB, free: 99.17 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003835/1.318, allocations: 1.732 MB / 0.8304 GB, free: 99.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002111/1.32, allocations: 1.76 MB / 0.8321 GB, free: 97.59 MB / 0.545 GB Notification: Performance of SimCode: time 8.91e-07/1.32, allocations: 0 / 0.8321 GB, free: 97.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0861/1.406, allocations: 66.11 MB / 0.8967 GB, free: 34.29 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000137/1.406, allocations: 210.2 kB / 0.8969 GB, free: 34.05 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.617/5.023, allocations: 3.375 kB / 0.8969 GB, free: 34.05 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat