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.00166/0.00166, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002199/0.002199, allocations: 212 kB / 24.54 MB, free: 4.016 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.471/1.471, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.2294/0.2294, allocations: 46.93 MB / 361.6 MB, free: 4.203 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.003171/0.003171, allocations: 75.88 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3353, allocations: 66.08 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01123/0.3466, allocations: 9.588 MB / 0.5709 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007494/0.354, allocations: 3.878 MB / 0.5747 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.3552, allocations: 63.75 kB / 0.5747 GB, free: 6.715 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005007/0.3602, allocations: 2.8 MB / 0.5775 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004592/0.3648, allocations: 1.658 MB / 0.5791 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.3666, allocations: 0.7212 MB / 0.5798 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005544/0.3722, allocations: 3.899 MB / 0.5836 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003336/0.3755, allocations: 2.76 MB / 0.5863 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002161/0.3776, allocations: 1.429 MB / 0.5877 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003188/0.3808, allocations: 2.048 MB / 0.5897 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000708/0.3815, allocations: 315.9 kB / 0.59 GB, free: 6.988 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.3839, allocations: 1.221 MB / 0.5912 GB, free: 5.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001955/0.3858, allocations: 1.792 MB / 0.5929 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002435/0.3883, allocations: 2.082 MB / 0.595 GB, free: 1.875 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007984/0.3963, allocations: 6.86 MB / 0.6017 GB, free: 10.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.3963, allocations: 0 / 0.6017 GB, free: 10.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3963, allocations: 0 / 0.6017 GB, free: 10.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000175/0.3964, allocations: 0 / 0.6017 GB, free: 10.99 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.01143/0.4079, allocations: 4.512 MB / 0.6061 GB, free: 6.422 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.4079, allocations: 8.031 kB / 0.6061 GB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001185/0.4091, allocations: 0.6574 MB / 0.6067 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07195/0.4811, allocations: 7.067 MB / 0.6136 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006933/0.488, allocations: 2.605 MB / 0.6162 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/0.4882, allocations: 222 kB / 0.6164 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001162/0.4894, allocations: 291.8 kB / 0.6166 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01685/0.5062, allocations: 8.669 MB / 0.6251 GB, free: 2.188 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001874/0.5064, allocations: 39.64 kB / 0.6251 GB, free: 2.148 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009486/0.5074, allocations: 139.9 kB / 0.6253 GB, free: 2.012 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002886/0.5103, allocations: 1.653 MB / 0.6269 GB, free: 364 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01634/0.5266, allocations: 7.086 MB / 0.6338 GB, free: 9.262 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04495/0.5716, allocations: 33.14 MB / 0.6662 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004583/0.5761, allocations: 1.836 MB / 0.668 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/0.5778, allocations: 1.125 MB / 0.6691 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002849/0.5781, allocations: 96.41 kB / 0.6692 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/0.5781, allocations: 47 kB / 0.6692 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.827e-06/0.5782, allocations: 4 kB / 0.6692 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.0247/0.6029, allocations: 10.53 MB / 0.6795 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.603, allocations: 192.6 kB / 0.6797 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004697/0.6077, allocations: 3.596 MB / 0.6832 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.6078, allocations: 41.7 kB / 0.6832 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00218/0.61, allocations: 2.959 MB / 0.6861 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005902/0.6106, allocations: 0.5738 MB / 0.6867 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/0.6119, allocations: 1.076 MB / 0.6877 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.612, allocations: 305.1 kB / 0.688 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003342/0.6154, allocations: 1.697 MB / 0.6897 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008104/0.6235, allocations: 5.064 MB / 0.6946 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01408/0.6376, allocations: 7.348 MB / 0.7018 GB, free: 15.03 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001224/0.6377, allocations: 32 kB / 0.7018 GB, free: 15 MB / 0.545 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01389/0.6516, allocations: 6.744 MB / 0.7084 GB, free: 8.242 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.753e-05/0.6517, allocations: 56 kB / 0.7085 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001525/0.6518, allocations: 128.1 kB / 0.7086 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.6529, allocations: 420.5 kB / 0.709 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004118/0.657, allocations: 1.213 MB / 0.7102 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004654/0.6617, allocations: 3.483 MB / 0.7136 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003828/0.6655, allocations: 295.7 kB / 0.7139 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008922/0.6664, allocations: 336 kB / 0.7142 GB, free: 2.223 MB / 0.545 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.003734/0.6701, allocations: 1.952 MB / 0.7161 GB, free: 264 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006789/0.6708, allocations: 314.3 kB / 0.7164 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/0.6745, allocations: 1.878 MB / 0.7182 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.91e-05/0.6746, allocations: 16 kB / 0.7182 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.6746, allocations: 4 kB / 0.7182 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.6746, allocations: 11.91 kB / 0.7182 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.6853, allocations: 5.737 MB / 0.7239 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.6853, allocations: 4 kB / 0.7239 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.6864, allocations: 211.7 kB / 0.7241 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007352/0.6871, allocations: 256.5 kB / 0.7243 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.221e-05/0.6872, allocations: 35.97 kB / 0.7243 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003836/0.691, allocations: 3.054 MB / 0.7273 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.691, allocations: 0 / 0.7273 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006121/0.6972, allocations: 3.966 MB / 0.7312 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008036/0.698, allocations: 289.8 kB / 0.7315 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002841/0.6982, allocations: 20.06 kB / 0.7315 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.6993, allocations: 79.91 kB / 0.7316 GB, free: 188 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000261/0.6996, allocations: 100.5 kB / 0.7317 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.554e-05/0.6996, allocations: 39.98 kB / 0.7317 GB, free: 48 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2729/0.9726, allocations: 2.239 MB / 0.7339 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9726, allocations: 0 / 0.7339 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004103/0.9767, allocations: 0.8214 MB / 0.7347 GB, free: 152.1 MB / 0.5606 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.005233/0.9819, allocations: 4.579 MB / 0.7392 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005457/0.9874, allocations: 3.957 MB / 0.743 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.9874, allocations: 7.875 kB / 0.743 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.9887, allocations: 1.11 MB / 0.7441 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/0.9907, allocations: 405.7 kB / 0.7445 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04002/1.031, allocations: 37.99 MB / 0.7816 GB, free: 110 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002523/1.033, allocations: 3.037 MB / 0.7846 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003264/1.036, allocations: 1.71 MB / 0.7862 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/1.038, allocations: 1.655 MB / 0.7878 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of SimCode: time 2.094e-06/1.038, allocations: 0 / 0.7878 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09499/1.133, allocations: 61.08 MB / 0.8475 GB, free: 42.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.84/23.97, allocations: 15.81 kB / 0.8475 GB, free: 42.79 MB / 0.5606 GB " [Timeout remaining time 636] (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: 26.916080962866545] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 24.09109328687191 24.105580568 23.706101279 Calling exit ...