Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001317/0.001317, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2854/0.2854, allocations: 46.88 MB / 357.4 MB, free: 10.62 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 79.88 kB / 0.4912 GB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1375, allocations: 65.99 MB / 0.5557 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01281/0.1503, allocations: 9.54 MB / 0.565 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009645/0.1599, allocations: 3.843 MB / 0.5687 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/0.1622, allocations: 59.81 kB / 0.5688 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00584/0.1681, allocations: 2.788 MB / 0.5715 GB, free: 6.164 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004791/0.1729, allocations: 1.65 MB / 0.5731 GB, free: 4.508 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.1748, allocations: 0.7096 MB / 0.5738 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005997/0.1808, allocations: 3.899 MB / 0.5776 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004775/0.1856, allocations: 3.054 MB / 0.5806 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002703/0.1883, allocations: 1.406 MB / 0.582 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00331/0.1916, allocations: 2.044 MB / 0.584 GB, free: 9.309 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.1927, allocations: 319.9 kB / 0.5843 GB, free: 8.996 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/0.1953, allocations: 1.225 MB / 0.5855 GB, free: 7.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002215/0.1975, allocations: 1.792 MB / 0.5872 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003006/0.2005, allocations: 2.074 MB / 0.5893 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3051/0.5056, allocations: 6.86 MB / 0.596 GB, free: 14.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.5056, allocations: 0 / 0.596 GB, free: 14.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5056, allocations: 0 / 0.596 GB, free: 14.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002926/0.5059, allocations: 0.7969 kB / 0.596 GB, free: 14.27 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.0166/0.5225, allocations: 4.58 MB / 0.6004 GB, free: 12.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.5226, allocations: 10.33 kB / 0.6004 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002297/0.5249, allocations: 0.6525 MB / 0.6011 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0799/0.6048, allocations: 7.062 MB / 0.608 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008458/0.6132, allocations: 2.688 MB / 0.6106 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000262/0.6135, allocations: 215.9 kB / 0.6108 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001685/0.6152, allocations: 292.3 kB / 0.6111 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01711/0.6323, allocations: 8.663 MB / 0.6195 GB, free: 8.375 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001366/0.6324, allocations: 38.98 kB / 0.6196 GB, free: 8.371 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000451/0.6329, allocations: 146.1 kB / 0.6197 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002363/0.6352, allocations: 1.66 MB / 0.6213 GB, free: 7.816 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/0.6472, allocations: 7.079 MB / 0.6283 GB, free: 4.715 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04808/0.6953, allocations: 33.27 MB / 0.6607 GB, free: 3.812 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00512/0.7004, allocations: 2.282 MB / 0.663 GB, free: 1.391 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/0.7024, allocations: 1.134 MB / 0.6641 GB, free: 256 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004435/0.7029, allocations: 326.6 kB / 0.6644 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.7029, allocations: 50.06 kB / 0.6644 GB, free: 15.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 4.799e-06/0.7029, allocations: 4 kB / 0.6644 GB, free: 15.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=140): time 0.02922/0.7321, allocations: 10.69 MB / 0.6749 GB, free: 5.086 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.7323, allocations: 207.4 kB / 0.6751 GB, free: 4.844 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007182/0.7394, allocations: 3.592 MB / 0.6786 GB, free: 1.258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003744/0.7398, allocations: 41.7 kB / 0.6786 GB, free: 1.211 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003143/0.743, allocations: 2.948 MB / 0.6815 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001096/0.7441, allocations: 0.5741 MB / 0.6821 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0024/0.7465, allocations: 1.083 MB / 0.6831 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.7466, allocations: 305.1 kB / 0.6834 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003242/0.7498, allocations: 1.697 MB / 0.6851 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00625/0.7561, allocations: 5.066 MB / 0.69 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009704/0.7658, allocations: 7.334 MB / 0.6972 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001238/0.7659, allocations: 39.38 kB / 0.6972 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01429/0.7802, allocations: 6.745 MB / 0.7038 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.7803, allocations: 56 kB / 0.7039 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002146/0.7805, allocations: 124.2 kB / 0.704 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.7817, allocations: 424.5 kB / 0.7044 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004109/0.7858, allocations: 1.216 MB / 0.7056 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004739/0.7905, allocations: 3.587 MB / 0.7091 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005318/0.7959, allocations: 287.7 kB / 0.7093 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/0.7969, allocations: 332 kB / 0.7097 GB, free: 14.69 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.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 (644): * Single equations (assignments): 640 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004153/0.801, allocations: 1.95 MB / 0.7116 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000779/0.8018, allocations: 321.8 kB / 0.7119 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004106/0.8059, allocations: 1.874 MB / 0.7137 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-05/0.806, allocations: 16 kB / 0.7137 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.806, allocations: 7 kB / 0.7137 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.806, allocations: 3.984 kB / 0.7137 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/0.8204, allocations: 5.761 MB / 0.7194 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.8204, allocations: 0 / 0.7194 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.8215, allocations: 223.6 kB / 0.7196 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007896/0.8223, allocations: 253.8 kB / 0.7198 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/0.8224, allocations: 27.98 kB / 0.7198 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004135/0.8266, allocations: 3.175 MB / 0.7229 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8266, allocations: 0 / 0.7229 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007058/0.8336, allocations: 3.959 MB / 0.7268 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/0.835, allocations: 366.8 kB / 0.7272 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003631/0.8353, allocations: 28.06 kB / 0.7272 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.8365, allocations: 63.92 kB / 0.7272 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/0.8369, allocations: 104.4 kB / 0.7273 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.837, allocations: 35.98 kB / 0.7274 GB, free: 12.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003952/0.8409, allocations: 2.242 MB / 0.7296 GB, free: 10.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.8409, allocations: 0 / 0.7296 GB, free: 10.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004873/0.8458, allocations: 0.8124 MB / 0.7304 GB, free: 9.262 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00711/0.8529, allocations: 4.601 MB / 0.7349 GB, free: 4.645 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007282/0.8602, allocations: 3.967 MB / 0.7387 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.8602, allocations: 0 / 0.7387 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.862, allocations: 1.107 MB / 0.7398 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/0.8643, allocations: 414.5 kB / 0.7402 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06581/0.9301, allocations: 37.89 MB / 0.7772 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00363/0.9338, allocations: 3.038 MB / 0.7802 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003808/0.9376, allocations: 1.706 MB / 0.7818 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002266/0.9398, allocations: 1.655 MB / 0.7835 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of SimCode: time 1.152e-06/0.9398, allocations: 0 / 0.7835 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1187/1.059, allocations: 56.91 MB / 0.839 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.51/22.57, allocations: 10.77 kB / 0.839 GB, free: 5.211 MB / 0.6544 GB " [Timeout remaining time 637] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.914014393929392] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 22.699343556072563 22.951903764 22.442941852 Calling exit ...