Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.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.001681/0.001681, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.002054/0.002054, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.467/1.467, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2298/0.2298, 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.FrameTorques,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameTorques",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.003314/0.003314, allocations: 83.86 kB / 0.4912 GB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1609, allocations: 65.98 MB / 0.5557 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01539/0.1763, allocations: 12.73 MB / 0.5681 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.1868, allocations: 4.516 MB / 0.5725 GB, free: 5.078 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002454/0.1892, allocations: 87.75 kB / 0.5726 GB, free: 4.992 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007614/0.1968, allocations: 3.757 MB / 0.5763 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006548/0.2034, allocations: 2.237 MB / 0.5784 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002649/0.206, allocations: 1.006 MB / 0.5794 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01006/0.2161, allocations: 6.039 MB / 0.5853 GB, free: 7.922 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005756/0.2218, allocations: 3.816 MB / 0.5891 GB, free: 4.035 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003849/0.2257, allocations: 1.959 MB / 0.591 GB, free: 2.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2985/0.5242, allocations: 2.826 MB / 0.5937 GB, free: 9.879 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00177/0.526, allocations: 409.4 kB / 0.5941 GB, free: 9.879 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003777/0.5298, allocations: 1.48 MB / 0.5956 GB, free: 9.879 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003638/0.5334, allocations: 2.502 MB / 0.598 GB, free: 9.879 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005381/0.5388, allocations: 2.767 MB / 0.6007 GB, free: 9.047 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.5537, allocations: 8.801 MB / 0.6093 GB, free: 7.715 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.5537, allocations: 0.6875 kB / 0.6093 GB, free: 7.715 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5537, allocations: 0 / 0.6093 GB, free: 7.715 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003802/0.5541, allocations: 0 / 0.6093 GB, free: 7.715 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02463/0.5787, allocations: 6.354 MB / 0.6155 GB, free: 5.066 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.5788, allocations: 10.16 kB / 0.6155 GB, free: 5.066 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003264/0.582, allocations: 0.8184 MB / 0.6163 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0363/0.6183, allocations: 6.061 MB / 0.6222 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/0.6299, allocations: 4.159 MB / 0.6263 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.6301, allocations: 276.4 kB / 0.6266 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002035/0.6322, allocations: 381.2 kB / 0.6269 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02696/0.6591, allocations: 11.49 MB / 0.6381 GB, free: 9.379 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003239/0.6594, allocations: 59.91 kB / 0.6382 GB, free: 9.371 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001688/0.6611, allocations: 178.1 kB / 0.6384 GB, free: 9.289 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004101/0.6652, allocations: 2.147 MB / 0.6405 GB, free: 7.598 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02159/0.6868, allocations: 9.374 MB / 0.6496 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07218/0.759, allocations: 45.35 MB / 0.6939 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/0.7697, allocations: 3.667 MB / 0.6975 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003142/0.7728, allocations: 1.859 MB / 0.6993 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01374/0.7866, allocations: 5.656 MB / 0.7048 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.146e-05/0.7867, allocations: 63.45 kB / 0.7049 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 4.88e-06/0.7867, allocations: 0 / 0.7049 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=162): time 0.05089/0.8376, allocations: 15.9 MB / 0.7204 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.8377, allocations: 226.1 kB / 0.7206 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01469/0.8524, allocations: 5.64 MB / 0.7261 GB, free: 15.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000487/0.8529, allocations: 49.7 kB / 0.7262 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004519/0.8574, allocations: 3.908 MB / 0.73 GB, free: 11.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001162/0.8586, allocations: 0.6852 MB / 0.7307 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004607/0.8632, allocations: 1.35 MB / 0.732 GB, free: 9.121 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.8633, allocations: 301.1 kB / 0.7323 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004434/0.8677, allocations: 2.07 MB / 0.7343 GB, free: 6.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008502/0.8762, allocations: 6.316 MB / 0.7405 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/0.8881, allocations: 9.14 MB / 0.7494 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001476/0.8883, allocations: 40 kB / 0.7494 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01988/0.9082, allocations: 8.616 MB / 0.7578 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002259/0.9084, allocations: 72.66 kB / 0.7579 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002877/0.9087, allocations: 155.9 kB / 0.7581 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002108/0.9108, allocations: 0.7147 MB / 0.7588 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005326/0.9161, allocations: 1.505 MB / 0.7602 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009101/0.9252, allocations: 6.967 MB / 0.767 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005383/0.9306, allocations: 335.7 kB / 0.7674 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001282/0.9319, allocations: 419.2 kB / 0.7678 GB, free: 0.6758 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 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (798): * Single equations (assignments): 791 * 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,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005817/0.9377, allocations: 2.465 MB / 0.7702 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/0.9388, allocations: 488.7 kB / 0.7706 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005712/0.9445, allocations: 2.639 MB / 0.7732 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.771e-05/0.9446, allocations: 20 kB / 0.7732 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.931e-05/0.9446, allocations: 4 kB / 0.7732 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.9446, allocations: 7.969 kB / 0.7732 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01893/0.9635, allocations: 7.47 MB / 0.7805 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.116e-05/0.9636, allocations: 4.062 kB / 0.7805 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/0.9649, allocations: 255.6 kB / 0.7808 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001528/0.9664, allocations: 0.4972 MB / 0.7813 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001995/0.9666, allocations: 28 kB / 0.7813 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007975/0.9746, allocations: 6.289 MB / 0.7874 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.9746, allocations: 7.938 kB / 0.7874 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008367/0.983, allocations: 4.964 MB / 0.7923 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002132/0.9851, allocations: 0.5408 MB / 0.7928 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001426/0.9865, allocations: 39.88 kB / 0.7929 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002429/0.989, allocations: 75.91 kB / 0.7929 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003701/0.9893, allocations: 92.81 kB / 0.793 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001785/0.9895, allocations: 50.34 kB / 0.7931 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008711/0.9982, allocations: 3.609 MB / 0.7966 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9982, allocations: 0 / 0.7966 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00765/1.006, allocations: 1.098 MB / 0.7977 GB, free: 1.645 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (120): * Single equations (assignments): 115 * 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,11,100.0%), (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.009794/1.016, allocations: 5.591 MB / 0.8031 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01056/1.026, allocations: 4.978 MB / 0.808 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.026, allocations: 0 / 0.808 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002765/1.029, allocations: 1.409 MB / 0.8094 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006187/1.035, allocations: 0.6352 MB / 0.81 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3844/1.42, allocations: 53.96 MB / 0.8627 GB, free: 223.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006792/1.426, allocations: 3.776 MB / 0.8664 GB, free: 221.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005551/1.432, allocations: 2.12 MB / 0.8684 GB, free: 221.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003622/1.436, allocations: 2.303 MB / 0.8707 GB, free: 219.8 MB / 0.6544 GB Notification: Performance of SimCode: time 1.643e-06/1.436, allocations: 0 / 0.8707 GB, free: 219.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1361/1.572, allocations: 84.75 MB / 0.9534 GB, free: 145.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.59/33.16, allocations: 3.938 kB / 0.9534 GB, free: 145.6 MB / 0.6544 GB " [Timeout remaining time 627] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 36.277704511769116] Failed to read output from testmodel.py, exit status != 0: ['time', 'Revolute1.phi', 'Revolute1.w', 'Revolute2.phi', 'Revolute2.w'] 33.31227279594168 33.328440677 32.770877966 Calling exit ...