Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.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.001323/0.001323, allocations: 116.4 kB / 18.5 MB, free: 4.574 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.001417/0.001417, allocations: 208.9 kB / 21.46 MB, free: 1.617 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.429/1.429, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2347/0.2347, allocations: 46.89 MB / 357.4 MB, free: 10.5 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.FrameForces,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForces",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.002422/0.002422, allocations: 79.88 kB / 0.4912 GB, free: 8.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1317, allocations: 65.99 MB / 0.5557 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01567/0.1473, allocations: 12.7 MB / 0.5681 GB, free: 9.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.1583, allocations: 4.524 MB / 0.5725 GB, free: 4.938 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002955/0.1613, allocations: 87.75 kB / 0.5726 GB, free: 4.852 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007926/0.1692, allocations: 3.746 MB / 0.5762 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006817/0.176, allocations: 2.233 MB / 0.5784 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002742/0.1788, allocations: 0.9982 MB / 0.5794 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009732/0.1885, allocations: 6.05 MB / 0.5853 GB, free: 7.793 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005933/0.1944, allocations: 3.8 MB / 0.589 GB, free: 3.922 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004006/0.1984, allocations: 1.951 MB / 0.5909 GB, free: 1.965 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2982/0.4966, allocations: 2.813 MB / 0.5937 GB, free: 9.938 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001933/0.4986, allocations: 407.4 kB / 0.594 GB, free: 9.938 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004018/0.5026, allocations: 1.485 MB / 0.5955 GB, free: 9.938 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004107/0.5067, allocations: 2.494 MB / 0.5979 GB, free: 9.938 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006898/0.5136, allocations: 2.765 MB / 0.6006 GB, free: 9.105 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01694/0.5305, allocations: 8.787 MB / 0.6092 GB, free: 7.773 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.5305, allocations: 0 / 0.6092 GB, free: 7.773 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5305, allocations: 0 / 0.6092 GB, free: 7.773 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004657/0.531, allocations: 4.469 kB / 0.6092 GB, free: 7.773 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.02217/0.5532, allocations: 6.335 MB / 0.6154 GB, free: 5.141 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.5532, allocations: 10.53 kB / 0.6154 GB, free: 5.141 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003266/0.5565, allocations: 0.8208 MB / 0.6162 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03821/0.5947, allocations: 6.058 MB / 0.6221 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01296/0.6076, allocations: 4.151 MB / 0.6262 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/0.6079, allocations: 279.3 kB / 0.6265 GB, free: 492 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002297/0.6102, allocations: 377.6 kB / 0.6268 GB, free: 392 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02748/0.6377, allocations: 11.47 MB / 0.638 GB, free: 9.398 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002467/0.6379, allocations: 57.56 kB / 0.6381 GB, free: 9.391 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001741/0.6397, allocations: 181.4 kB / 0.6382 GB, free: 9.309 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004074/0.6437, allocations: 2.147 MB / 0.6403 GB, free: 7.598 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/0.6651, allocations: 9.36 MB / 0.6495 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06923/0.7343, allocations: 45.27 MB / 0.6937 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/0.745, allocations: 3.673 MB / 0.6973 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003194/0.7482, allocations: 1.879 MB / 0.6991 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01492/0.7631, allocations: 6.24 MB / 0.7052 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/0.7632, allocations: 59.3 kB / 0.7053 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 5.34e-06/0.7632, allocations: 0 / 0.7053 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.04642/0.8096, allocations: 14.99 MB / 0.7199 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.8097, allocations: 200.3 kB / 0.7201 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/0.821, allocations: 5.629 MB / 0.7256 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00046/0.8215, allocations: 57.64 kB / 0.7256 GB, free: 15.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004373/0.8259, allocations: 3.87 MB / 0.7294 GB, free: 11.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001299/0.8272, allocations: 0.6905 MB / 0.7301 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002923/0.8301, allocations: 1.357 MB / 0.7314 GB, free: 9.664 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.8302, allocations: 301.1 kB / 0.7317 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003997/0.8342, allocations: 2.098 MB / 0.7338 GB, free: 7.266 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008025/0.8422, allocations: 6.347 MB / 0.7399 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/0.8541, allocations: 9.185 MB / 0.7489 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000132/0.8543, allocations: 40 kB / 0.749 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01841/0.8727, allocations: 8.651 MB / 0.7574 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.8728, allocations: 75.84 kB / 0.7575 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002087/0.873, allocations: 152 kB / 0.7576 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/0.875, allocations: 0.7041 MB / 0.7583 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005513/0.8806, allocations: 1.517 MB / 0.7598 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008978/0.8895, allocations: 6.821 MB / 0.7665 GB, free: 2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005649/0.8952, allocations: 347.5 kB / 0.7668 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001408/0.8966, allocations: 418.6 kB / 0.7672 GB, free: 1.254 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (804): * Single equations (assignments): 797 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006197/0.9028, allocations: 2.451 MB / 0.7696 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/0.9041, allocations: 480.8 kB / 0.77 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006626/0.9107, allocations: 2.685 MB / 0.7727 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.942e-05/0.9107, allocations: 20 kB / 0.7727 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-05/0.9108, allocations: 4 kB / 0.7727 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.823e-05/0.9108, allocations: 7.969 kB / 0.7727 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02232/0.9331, allocations: 7.439 MB / 0.78 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.593e-05/0.9331, allocations: 8.281 kB / 0.78 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/0.9348, allocations: 299.5 kB / 0.7802 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001777/0.9365, allocations: 494.4 kB / 0.7807 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003462/0.9369, allocations: 28 kB / 0.7807 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008372/0.9453, allocations: 6.214 MB / 0.7868 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.9453, allocations: 4 kB / 0.7868 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009218/0.9545, allocations: 4.988 MB / 0.7917 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/0.9562, allocations: 0.5329 MB / 0.7922 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000916/0.9571, allocations: 27.98 kB / 0.7922 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/0.9587, allocations: 75.92 kB / 0.7923 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000281/0.9589, allocations: 100.8 kB / 0.7924 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.9591, allocations: 50.52 kB / 0.7925 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.006657/0.9657, allocations: 3.597 MB / 0.796 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.9657, allocations: 0 / 0.796 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006578/0.9723, allocations: 1.094 MB / 0.797 GB, free: 2.262 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (126): * Single equations (assignments): 121 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008017/0.9803, allocations: 5.621 MB / 0.8025 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009085/0.9894, allocations: 4.992 MB / 0.8074 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.9894, allocations: 448 / 0.8074 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002116/0.9915, allocations: 1.413 MB / 0.8088 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003977/0.9955, allocations: 0.6382 MB / 0.8094 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3683/1.364, allocations: 54.01 MB / 0.8621 GB, free: 224.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006057/1.37, allocations: 3.757 MB / 0.8658 GB, free: 223.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005436/1.375, allocations: 2.132 MB / 0.8679 GB, free: 223 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003393/1.379, allocations: 2.313 MB / 0.8702 GB, free: 221.1 MB / 0.6544 GB Notification: Performance of SimCode: time 1.233e-06/1.379, allocations: 0 / 0.8702 GB, free: 221.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1553/1.534, allocations: 85.49 MB / 0.9536 GB, free: 146.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.75/31.28, allocations: 0 / 0.9536 GB, free: 146.2 MB / 0.6544 GB " [Timeout remaining time 629] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 34.27392474608496] Failed to read output from testmodel.py, exit status != 0: ['time', 'Revolute1.phi', 'Revolute1.w', 'Revolute2.phi', 'Revolute2.w'] 31.427586262580007 31.443549375 30.909097558 Calling exit ...