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.001007/0.001007, allocations: 98.5 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00143/0.00143, allocations: 194.5 kB / 17.9 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.3 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.216/0.216, allocations: 45.91 MB / 344.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.000278, allocations: 4 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1298, allocations: 63.48 MB / 481.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3277/0.4576, allocations: 46.97 MB / 0.5162 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02572/0.4833, allocations: 10.39 MB / 0.5264 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01074/0.4941, allocations: 214.6 kB / 0.5266 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009156/0.5033, allocations: 2.473 MB / 0.529 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02174/0.5251, allocations: 7.288 MB / 0.5361 GB, free: 5.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00367/0.5288, allocations: 0.6091 MB / 0.5367 GB, free: 5.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0392/0.568, allocations: 32.16 MB / 0.5681 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006514/0.5746, allocations: 4.219 MB / 0.5722 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/0.577, allocations: 1.129 MB / 0.5733 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002746/0.5797, allocations: 1.764 MB / 0.575 GB, free: 8.352 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006906/0.5804, allocations: 132 kB / 0.5752 GB, free: 8.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.5827, allocations: 0.9167 MB / 0.5761 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001992/0.5847, allocations: 1.59 MB / 0.5776 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.5859, allocations: 0.796 MB / 0.5784 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005801/0.5918, allocations: 5.544 MB / 0.5838 GB, free: 15.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5918, allocations: 3.938 kB / 0.5838 GB, free: 15.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5918, allocations: 0 / 0.5838 GB, free: 15.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001907/0.592, allocations: 3.938 kB / 0.5838 GB, free: 15.34 MB / 430.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.01062/0.6026, allocations: 3.881 MB / 0.5876 GB, free: 11.4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.6027, allocations: 8.031 kB / 0.5876 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001698/0.6044, allocations: 0.6946 MB / 0.5883 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06905/0.6735, allocations: 7.317 MB / 0.5954 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007736/0.6812, allocations: 2.644 MB / 0.598 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002495/0.6815, allocations: 229.8 kB / 0.5982 GB, free: 432 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/0.6827, allocations: 303.8 kB / 0.5985 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01672/0.6994, allocations: 9.219 MB / 0.6075 GB, free: 6.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001839/0.6997, allocations: 43.64 kB / 0.6076 GB, free: 6.227 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009489/0.7006, allocations: 147.9 kB / 0.6077 GB, free: 6.082 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00324/0.7039, allocations: 1.841 MB / 0.6095 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01543/0.7194, allocations: 7.538 MB / 0.6169 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04259/0.762, allocations: 34.69 MB / 0.6507 GB, free: 8.906 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004734/0.7668, allocations: 2.389 MB / 0.6531 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/0.7686, allocations: 1.227 MB / 0.6543 GB, free: 5.133 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003687/0.769, allocations: 327.6 kB / 0.6546 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.769, allocations: 51.11 kB / 0.6546 GB, free: 4.699 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 3.527e-06/0.769, allocations: 0 / 0.6546 GB, free: 4.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=140): time 0.02627/0.7953, allocations: 10.9 MB / 0.6653 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.7954, allocations: 192.6 kB / 0.6655 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005591/0.801, allocations: 3.62 MB / 0.669 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002242/0.8013, allocations: 49.69 kB / 0.6691 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002007/0.8033, allocations: 2.954 MB / 0.6719 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006245/0.8039, allocations: 0.5595 MB / 0.6725 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000334/0.8043, allocations: 104 kB / 0.6726 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003719/0.8047, allocations: 0.5253 MB / 0.6731 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002812/0.8075, allocations: 1.72 MB / 0.6748 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004917/0.8124, allocations: 5.139 MB / 0.6798 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004543/0.817, allocations: 2.915 MB / 0.6826 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.729e-05/0.8171, allocations: 36 kB / 0.6827 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01425/0.8314, allocations: 6.812 MB / 0.6893 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.8316, allocations: 59.98 kB / 0.6894 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002033/0.8318, allocations: 120 kB / 0.6895 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.833, allocations: 445.1 kB / 0.6899 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004324/0.8373, allocations: 1.236 MB / 0.6911 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004483/0.8418, allocations: 3.332 MB / 0.6944 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004131/0.846, allocations: 303.7 kB / 0.6947 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009277/0.8469, allocations: 336 kB / 0.695 GB, free: 9.266 MB / 0.5294 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.004126/0.8511, allocations: 2.037 MB / 0.697 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007824/0.8519, allocations: 304.1 kB / 0.6973 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004045/0.8559, allocations: 1.933 MB / 0.6992 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.389e-05/0.856, allocations: 16 kB / 0.6992 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.856, allocations: 4 kB / 0.6992 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.856, allocations: 4.359 kB / 0.6992 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/0.8688, allocations: 5.976 MB / 0.705 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/0.8688, allocations: 4 kB / 0.705 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.87, allocations: 227.7 kB / 0.7052 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008045/0.8708, allocations: 260.5 kB / 0.7055 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.871, allocations: 23.98 kB / 0.7055 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003755/0.8748, allocations: 2.916 MB / 0.7084 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.8748, allocations: 4.031 kB / 0.7084 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006442/0.8812, allocations: 4.003 MB / 0.7123 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.8824, allocations: 364.9 kB / 0.7126 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007469/0.8831, allocations: 24 kB / 0.7126 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/0.8847, allocations: 83.97 kB / 0.7127 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/0.885, allocations: 100.4 kB / 0.7128 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.8852, allocations: 43.97 kB / 0.7129 GB, free: 6.676 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005647/0.8908, allocations: 2.247 MB / 0.7151 GB, free: 4.441 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8909, allocations: 0 / 0.7151 GB, free: 4.441 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006656/0.8975, allocations: 0.8555 MB / 0.7159 GB, free: 3.586 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.2804/1.178, allocations: 4.63 MB / 0.7204 GB, free: 195.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009052/1.187, allocations: 4.129 MB / 0.7244 GB, free: 195.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.187, allocations: 0 / 0.7244 GB, free: 195.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002111/1.189, allocations: 1.191 MB / 0.7256 GB, free: 194.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/1.192, allocations: 404 kB / 0.726 GB, free: 194.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05157/1.244, allocations: 29.28 MB / 0.7546 GB, free: 175.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00306/1.247, allocations: 3.158 MB / 0.7577 GB, free: 174.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003801/1.251, allocations: 1.735 MB / 0.7594 GB, free: 174.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001996/1.253, allocations: 1.755 MB / 0.7611 GB, free: 172.6 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/1.253, allocations: 0 / 0.7611 GB, free: 172.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08542/1.338, allocations: 65.51 MB / 0.825 GB, free: 108.1 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000131/1.338, allocations: 212.6 kB / 0.8253 GB, free: 107.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.648/4.986, allocations: 2.953 kB / 0.8253 GB, free: 107.9 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