Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 111.3 kB / 17.08 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001428, allocations: 191.7 kB / 20.02 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.1 MB / 227.9 MB, free: 4.344 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3688/0.3688, allocations: 43.51 MB / 320.8 MB, free: 9.043 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002481/0.002481, allocations: 71.89 kB / 450.1 MB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3058, allocations: 57.78 MB / 0.4959 GB, free: 19.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01279/0.3186, allocations: 13.73 MB / 0.5094 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.3293, allocations: 4.603 MB / 0.5138 GB, free: 5.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004035/0.3333, allocations: 88.38 kB / 0.5139 GB, free: 5.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007029/0.3404, allocations: 3.763 MB / 0.5176 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007483/0.348, allocations: 2.362 MB / 0.5199 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.3509, allocations: 0.9999 MB / 0.5209 GB, free: 228 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01082/0.3617, allocations: 5.926 MB / 0.5267 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007655/0.3694, allocations: 4.687 MB / 0.5313 GB, free: 6.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004667/0.3742, allocations: 2.079 MB / 0.5333 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005093/0.3793, allocations: 2.827 MB / 0.536 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001651/0.381, allocations: 448 kB / 0.5365 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003988/0.385, allocations: 1.463 MB / 0.5379 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003882/0.3889, allocations: 2.618 MB / 0.5405 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006547/0.3955, allocations: 3.01 MB / 0.5434 GB, free: 9.582 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01597/0.4115, allocations: 9.552 MB / 0.5527 GB, free: 15.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.4116, allocations: 4 kB / 0.5527 GB, free: 15.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4116, allocations: 0 / 0.5527 GB, free: 15.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003814/0.412, allocations: 4 kB / 0.5527 GB, free: 15.98 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01951/0.4315, allocations: 6.754 MB / 0.5593 GB, free: 9.145 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.4316, allocations: 11.89 kB / 0.5593 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002521/0.4341, allocations: 0.8971 MB / 0.5602 GB, free: 8.223 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04121/0.4754, allocations: 6.152 MB / 0.5662 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/0.4874, allocations: 4.822 MB / 0.5709 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003494/0.4878, allocations: 307.7 kB / 0.5712 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/0.4894, allocations: 399.8 kB / 0.5716 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02686/0.5163, allocations: 12.48 MB / 0.5838 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002577/0.5166, allocations: 55.52 kB / 0.5838 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001444/0.518, allocations: 191.8 kB / 0.584 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004928/0.523, allocations: 2.417 MB / 0.5864 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02412/0.5472, allocations: 10.27 MB / 0.5964 GB, free: 2.195 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07007/0.6173, allocations: 48.25 MB / 0.6435 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2205/0.8379, allocations: 4.669 MB / 0.6481 GB, free: 124 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003148/0.8411, allocations: 2.32 MB / 0.6504 GB, free: 123 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01049/0.8516, allocations: 6.916 MB / 0.6571 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.8517, allocations: 53.67 kB / 0.6572 GB, free: 120 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 4.819e-06/0.8517, allocations: 0 / 0.6572 GB, free: 120 MB / 0.4981 GB Notification: Performance of matching and sorting (n=193): time 0.03858/0.8903, allocations: 16.49 MB / 0.6733 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.8904, allocations: 210.9 kB / 0.6735 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006858/0.8972, allocations: 5.867 MB / 0.6792 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002994/0.8976, allocations: 53.42 kB / 0.6793 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001895/0.8995, allocations: 4.152 MB / 0.6833 GB, free: 106.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007612/0.9002, allocations: 0.7934 MB / 0.6841 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001778/0.902, allocations: 1.448 MB / 0.6855 GB, free: 104.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.9021, allocations: 301.1 kB / 0.6858 GB, free: 104.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/0.9049, allocations: 2.38 MB / 0.6881 GB, free: 102 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004239/0.9092, allocations: 6.81 MB / 0.6948 GB, free: 93.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007829/0.917, allocations: 9.949 MB / 0.7045 GB, free: 80.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001003/0.9172, allocations: 48 kB / 0.7045 GB, free: 80.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=926) (initialization): time 0.01327/0.9305, allocations: 9.428 MB / 0.7137 GB, free: 71.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.135e-05/0.9306, allocations: 75.84 kB / 0.7138 GB, free: 71.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/0.9307, allocations: 156 kB / 0.7139 GB, free: 71.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/0.9323, allocations: 0.7205 MB / 0.7147 GB, free: 70.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004596/0.9369, allocations: 1.654 MB / 0.7163 GB, free: 68.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006013/0.9429, allocations: 6.836 MB / 0.7229 GB, free: 61.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005847/0.9488, allocations: 383.5 kB / 0.7233 GB, free: 61.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000995/0.9498, allocations: 438.9 kB / 0.7237 GB, free: 60.96 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (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 (866): * Single equations (assignments): 859 * 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.00388/0.9537, allocations: 2.625 MB / 0.7263 GB, free: 58.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009839/0.9547, allocations: 0.4967 MB / 0.7268 GB, free: 57.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004933/0.9597, allocations: 3.242 MB / 0.7299 GB, free: 54.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-05/0.9597, allocations: 31.94 kB / 0.73 GB, free: 54.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.9598, allocations: 4 kB / 0.73 GB, free: 54.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.297e-05/0.9598, allocations: 11.95 kB / 0.73 GB, free: 54.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/0.9731, allocations: 8.533 MB / 0.7383 GB, free: 45.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.9732, allocations: 4 kB / 0.7383 GB, free: 45.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/0.9748, allocations: 359.4 kB / 0.7387 GB, free: 45.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.9761, allocations: 497.4 kB / 0.7391 GB, free: 45.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000191/0.9763, allocations: 32 kB / 0.7392 GB, free: 45.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005169/0.9815, allocations: 6.215 MB / 0.7452 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.9815, allocations: 7.938 kB / 0.7452 GB, free: 38.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007284/0.9888, allocations: 5.852 MB / 0.751 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002115/0.991, allocations: 0.8255 MB / 0.7518 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001077/0.9921, allocations: 43.92 kB / 0.7518 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/0.9942, allocations: 91.88 kB / 0.7519 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003759/0.9946, allocations: 113.1 kB / 0.752 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/0.9948, allocations: 55.98 kB / 0.7521 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005621/1, allocations: 3.763 MB / 0.7557 GB, free: 27.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.61e-07/1, allocations: 0 / 0.7557 GB, free: 27.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006528/1.007, allocations: 1.21 MB / 0.7569 GB, free: 26.55 MB / 0.4981 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 (154): * Single equations (assignments): 149 * 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.007433/1.014, allocations: 6.514 MB / 0.7633 GB, free: 19.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007586/1.022, allocations: 5.82 MB / 0.769 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/1.022, allocations: 0 / 0.769 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001912/1.024, allocations: 1.754 MB / 0.7707 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004076/1.028, allocations: 0.6488 MB / 0.7713 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09807/1.126, allocations: 58.45 MB / 0.8284 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006815/1.133, allocations: 4.021 MB / 0.8323 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00602/1.139, allocations: 2.287 MB / 0.8346 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004275/1.143, allocations: 2.51 MB / 0.837 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of SimCode: time 1.302e-06/1.143, allocations: 0 / 0.837 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3835/1.527, allocations: 90.17 MB / 0.9251 GB, free: 171 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.12/23.65, allocations: 11.11 kB / 0.9251 GB, free: 171 MB / 0.5919 GB " [Timeout remaining time 636] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.71836431394331] Failed to read output from testmodel.py, exit status != 0: ['time', 'Revolute1.phi', 'Revolute1.w', 'Revolute2.phi', 'Revolute2.w'] 23.78522365214303 23.793629802 23.380153739 Calling exit ...