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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.00101/0.00101, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009357/0.0009358, allocations: 91.16 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2066/0.2066, allocations: 45.14 MB / 383.7 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.007e-05/1.989e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 63.25 MB / 0.5044 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4046/0.5131, allocations: 110.5 MB / 0.6124 GB, free: 7.914 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.5134, allocations: 73.78 kB / 0.6125 GB, free: 7.879 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.202/0.7154, allocations: 82.75 MB / 0.6933 GB, free: 13.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.7155, allocations: 0 / 0.6933 GB, free: 13.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002175/0.7157, allocations: 84.11 kB / 0.6933 GB, free: 13.45 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.01235/0.7281, allocations: 3.824 MB / 0.6971 GB, free: 9.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.7281, allocations: 8.031 kB / 0.6971 GB, free: 9.562 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01856/0.7467, allocations: 4.417 MB / 0.7014 GB, free: 5.133 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01089/0.7576, allocations: 3.875 MB / 0.7052 GB, free: 1.195 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002784/0.758, allocations: 140 kB / 0.7053 GB, free: 1.059 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002074/0.7601, allocations: 247.9 kB / 0.7056 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0113/0.7714, allocations: 5.529 MB / 0.711 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01601/0.7874, allocations: 8.746 MB / 0.7195 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/0.7876, allocations: 59.45 kB / 0.7196 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004508/0.7881, allocations: 28 kB / 0.7196 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001055/0.7891, allocations: 0.8578 MB / 0.7204 GB, free: 0.6133 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3309/1.12, allocations: 41.47 MB / 0.7609 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002542/1.123, allocations: 2.138 MB / 0.763 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/1.124, allocations: 1.111 MB / 0.7641 GB, free: 110 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003243/1.124, allocations: 335.2 kB / 0.7644 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/1.124, allocations: 49.11 kB / 0.7645 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=122): time 3.847e-06/1.124, allocations: 0 / 0.7645 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=141): time 0.01854/1.143, allocations: 10.56 MB / 0.7748 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/1.143, allocations: 195.7 kB / 0.775 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004655/1.148, allocations: 2.805 MB / 0.7777 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002793/1.148, allocations: 27.36 kB / 0.7777 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001539/1.15, allocations: 3.025 MB / 0.7807 GB, free: 105 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004686/1.15, allocations: 0.541 MB / 0.7812 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/1.15, allocations: 0 / 0.7812 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002191/1.15, allocations: 0.5371 MB / 0.7817 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/1.152, allocations: 1.522 MB / 0.7832 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002919/1.155, allocations: 5.053 MB / 0.7881 GB, free: 99.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/1.158, allocations: 2.755 MB / 0.7908 GB, free: 99.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.843e-05/1.158, allocations: 40.61 kB / 0.7909 GB, free: 99.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.008178/1.166, allocations: 5.906 MB / 0.7966 GB, free: 99.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.539e-05/1.166, allocations: 58.44 kB / 0.7967 GB, free: 99.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-05/1.166, allocations: 129.7 kB / 0.7968 GB, free: 99.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006968/1.167, allocations: 375.7 kB / 0.7972 GB, free: 99.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003281/1.17, allocations: 1.284 MB / 0.7984 GB, free: 99.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/1.173, allocations: 2.88 MB / 0.8013 GB, free: 97.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003715/1.177, allocations: 197.2 kB / 0.8014 GB, free: 97.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005218/1.177, allocations: 349.3 kB / 0.8018 GB, free: 97.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (680): * Single equations (assignments): 676 * 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.0006649/1.178, allocations: 426.4 kB / 0.8022 GB, free: 97.59 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002623/1.181, allocations: 1.979 MB / 0.8041 GB, free: 97.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/1.181, allocations: 290.8 kB / 0.8044 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/1.183, allocations: 1.584 MB / 0.8059 GB, free: 97.03 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.483e-05/1.183, allocations: 16.84 kB / 0.806 GB, free: 97.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.183, allocations: 4.219 kB / 0.806 GB, free: 97.03 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/1.183, allocations: 8.344 kB / 0.806 GB, free: 97.03 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008224/1.192, allocations: 4.851 MB / 0.8107 GB, free: 95.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.192, allocations: 3.594 kB / 0.8107 GB, free: 95.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009846/1.193, allocations: 226.1 kB / 0.8109 GB, free: 95.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/1.193, allocations: 183.8 kB / 0.8111 GB, free: 95.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-05/1.193, allocations: 6.953 kB / 0.8111 GB, free: 95.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/1.195, allocations: 2.457 MB / 0.8135 GB, free: 93.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.195, allocations: 0 / 0.8135 GB, free: 93.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003702/1.199, allocations: 3.585 MB / 0.817 GB, free: 91.81 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006686/1.2, allocations: 327.4 kB / 0.8173 GB, free: 91.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002876/1.2, allocations: 7.609 kB / 0.8173 GB, free: 91.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009897/1.201, allocations: 60.48 kB / 0.8174 GB, free: 91.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/1.201, allocations: 98.36 kB / 0.8175 GB, free: 91.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.48e-05/1.201, allocations: 44.88 kB / 0.8175 GB, free: 91.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00228/1.204, allocations: 1.863 MB / 0.8193 GB, free: 90.83 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.1e-07/1.204, allocations: 2.031 kB / 0.8193 GB, free: 90.83 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004442/1.208, allocations: 0.735 MB / 0.8201 GB, free: 90.83 MB / 0.5261 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 (108): * Single equations (assignments): 104 * 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.004021/1.212, allocations: 4.384 MB / 0.8243 GB, free: 88.55 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005325/1.217, allocations: 3.676 MB / 0.8279 GB, free: 87.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.217, allocations: 2.688 kB / 0.8279 GB, free: 87.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/1.219, allocations: 1.033 MB / 0.8289 GB, free: 86.87 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/1.22, allocations: 325 kB / 0.8292 GB, free: 86.74 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/1.237, allocations: 7.725 MB / 0.8368 GB, free: 84.08 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002717/1.24, allocations: 3.245 MB / 0.84 GB, free: 81.71 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004047/1.244, allocations: 1.768 MB / 0.8417 GB, free: 80.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002032/1.246, allocations: 1.767 MB / 0.8434 GB, free: 78.99 MB / 0.5261 GB Notification: Performance of SimCode: time 1.533e-06/1.246, allocations: 0 / 0.8434 GB, free: 78.99 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08371/1.329, allocations: 60.95 MB / 0.9029 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/1.33, allocations: 142 kB / 0.9031 GB, free: 27.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.647/4.976, allocations: 7.938 kB / 0.9031 GB, free: 27.67 MB / 0.5261 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