Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.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.001793/0.001793, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002043/0.002043, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.468/1.468, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2289/0.2289, allocations: 46.93 MB / 361.6 MB, free: 4.277 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.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2",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.002399/0.002399, allocations: 79.88 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2915, allocations: 66.09 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01192/0.3034, allocations: 9.577 MB / 0.5709 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006394/0.3098, allocations: 2.971 MB / 0.5738 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.3113, allocations: 59.81 kB / 0.5738 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00416/0.3154, allocations: 2.029 MB / 0.5758 GB, free: 5.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002943/0.3184, allocations: 1.133 MB / 0.5769 GB, free: 4.461 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008508/0.3192, allocations: 291.4 kB / 0.5772 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003609/0.3228, allocations: 2.326 MB / 0.5795 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002445/0.3253, allocations: 1.742 MB / 0.5812 GB, free: 56 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.3268, allocations: 0.8918 MB / 0.582 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.3287, allocations: 1.254 MB / 0.5833 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003936/0.3291, allocations: 196 kB / 0.5834 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.3304, allocations: 0.7215 MB / 0.5841 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.3315, allocations: 1.133 MB / 0.5853 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001459/0.333, allocations: 1.316 MB / 0.5865 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005095/0.3381, allocations: 4.33 MB / 0.5908 GB, free: 6.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3381, allocations: 0 / 0.5908 GB, free: 6.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3381, allocations: 3.938 kB / 0.5908 GB, free: 6.176 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001003/0.3382, allocations: 0 / 0.5908 GB, free: 6.176 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005259/0.3435, allocations: 2.866 MB / 0.5936 GB, free: 3.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3435, allocations: 8.031 kB / 0.5936 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006548/0.3442, allocations: 487.1 kB / 0.594 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005122/0.3493, allocations: 1.571 MB / 0.5956 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002775/0.3521, allocations: 1.282 MB / 0.5968 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.3522, allocations: 147.8 kB / 0.597 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000441/0.3526, allocations: 187.9 kB / 0.5971 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01064/0.3633, allocations: 6.246 MB / 0.6032 GB, free: 9.035 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.628e-05/0.3633, allocations: 15.88 kB / 0.6033 GB, free: 9.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002626/0.3636, allocations: 91.91 kB / 0.6033 GB, free: 8.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002101/0.3657, allocations: 1.34 MB / 0.6047 GB, free: 7.586 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/0.3763, allocations: 5.334 MB / 0.6099 GB, free: 2.238 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02876/0.4051, allocations: 19.96 MB / 0.6294 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004346/0.4094, allocations: 1.556 MB / 0.6309 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.4105, allocations: 0.6328 MB / 0.6315 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006132/0.4166, allocations: 3.035 MB / 0.6345 GB, free: 8.426 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.4166, allocations: 39 kB / 0.6345 GB, free: 8.379 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.446e-06/0.4167, allocations: 0 / 0.6345 GB, free: 8.379 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005755/0.4224, allocations: 1.974 MB / 0.6364 GB, free: 6.395 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.4225, allocations: 59.83 kB / 0.6365 GB, free: 6.324 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003123/0.4256, allocations: 1.949 MB / 0.6384 GB, free: 4.371 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.027e-05/0.4257, allocations: 33.7 kB / 0.6384 GB, free: 4.332 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001569/0.4272, allocations: 1.907 MB / 0.6403 GB, free: 2.402 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/0.4276, allocations: 329.5 kB / 0.6406 GB, free: 2.078 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000878/0.4285, allocations: 0.6195 MB / 0.6412 GB, free: 1.449 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002342/0.4287, allocations: 361.9 kB / 0.6415 GB, free: 1.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.4301, allocations: 0.8919 MB / 0.6424 GB, free: 200 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002987/0.4331, allocations: 2.747 MB / 0.6451 GB, free: 12.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004965/0.4381, allocations: 3.958 MB / 0.649 GB, free: 7.637 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-05/0.4381, allocations: 20 kB / 0.649 GB, free: 7.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006046/0.4442, allocations: 3.546 MB / 0.6524 GB, free: 4.062 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.933e-05/0.4443, allocations: 32 kB / 0.6525 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-05/0.4443, allocations: 68 kB / 0.6525 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.936e-05/0.4444, allocations: 88 kB / 0.6526 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/0.4465, allocations: 0.6589 MB / 0.6533 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001213/0.4466, allocations: 127.5 kB / 0.6534 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.4486, allocations: 429.2 kB / 0.6538 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002915/0.4489, allocations: 187.9 kB / 0.654 GB, free: 2.488 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 357 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002052/0.4509, allocations: 1.35 MB / 0.6553 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.4512, allocations: 170.8 kB / 0.6555 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.4515, allocations: 188.9 kB / 0.6556 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.4516, allocations: 15.98 kB / 0.6557 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.4516, allocations: 4 kB / 0.6557 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4516, allocations: 0 / 0.6557 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006978/0.4586, allocations: 4.041 MB / 0.6596 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.4586, allocations: 8.75 kB / 0.6596 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/0.459, allocations: 95.88 kB / 0.6597 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.459, allocations: 12 kB / 0.6597 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.4591, allocations: 19.94 kB / 0.6597 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.518e-05/0.4591, allocations: 15.92 kB / 0.6597 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/0.4591, allocations: 7.938 kB / 0.6598 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.4607, allocations: 1.243 MB / 0.661 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003697/0.4611, allocations: 182.6 kB / 0.6611 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.4612, allocations: 19.94 kB / 0.6612 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/0.4617, allocations: 23.97 kB / 0.6612 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.4618, allocations: 59.75 kB / 0.6612 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.433e-05/0.4619, allocations: 28 kB / 0.6613 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00201/0.4639, allocations: 1.271 MB / 0.6625 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4639, allocations: 0 / 0.6625 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002562/0.4665, allocations: 0.689 MB / 0.6632 GB, free: 8.824 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * 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 (54): * Single equations (assignments): 51 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002166/0.4686, allocations: 1.849 MB / 0.665 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003258/0.4719, allocations: 1.964 MB / 0.6669 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.4719, allocations: 4 kB / 0.6669 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006181/0.4725, allocations: 433.4 kB / 0.6673 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.4738, allocations: 244.5 kB / 0.6676 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03239/0.5062, allocations: 20.88 MB / 0.6879 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002619/0.5088, allocations: 2.271 MB / 0.6902 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002207/0.511, allocations: 0.9518 MB / 0.6911 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/0.5125, allocations: 1.034 MB / 0.6921 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/0.5125, allocations: 0 / 0.6921 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07321/0.5857, allocations: 35.12 MB / 0.7264 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.75, allocations: 11.53 kB / 0.7264 GB, free: 5.527 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.799487760756165] Failed to read output from testmodel.py, exit status != 0: ['time', 'cutForce.force[3]', 'cutForce.force[2]', 'cutForce.force[1]'] 12.84307492384687 13.110586545 12.769576159 Calling exit ...