Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.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.00187/0.00187, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.00222/0.00222, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.533/1.533, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2268/0.2268, allocations: 46.9 MB / 357.4 MB, free: 10.51 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.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Prismatic",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.002337/0.002337, allocations: 79.86 kB / 0.4912 GB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1309, allocations: 65.98 MB / 0.5557 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01458/0.1455, allocations: 12.32 MB / 0.5677 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008509/0.154, allocations: 3.874 MB / 0.5715 GB, free: 6.137 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/0.1557, allocations: 59.88 kB / 0.5715 GB, free: 6.078 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003231/0.1589, allocations: 1.347 MB / 0.5729 GB, free: 4.727 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004581/0.1635, allocations: 1.759 MB / 0.5746 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.1647, allocations: 419.2 kB / 0.575 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005437/0.1702, allocations: 3.6 MB / 0.5785 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003198/0.1734, allocations: 1.771 MB / 0.5802 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00242/0.1758, allocations: 1.195 MB / 0.5814 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003286/0.1791, allocations: 1.912 MB / 0.5832 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000945/0.18, allocations: 244 kB / 0.5835 GB, free: 9.785 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.1823, allocations: 0.8385 MB / 0.5843 GB, free: 8.945 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002356/0.1847, allocations: 1.601 MB / 0.5859 GB, free: 7.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003555/0.1882, allocations: 1.879 MB / 0.5877 GB, free: 5.449 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2971/0.4854, allocations: 6.097 MB / 0.5937 GB, free: 12.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.4854, allocations: 0 / 0.5937 GB, free: 12.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4854, allocations: 0 / 0.5937 GB, free: 12.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002741/0.4856, allocations: 0 / 0.5937 GB, free: 12.17 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.01143/0.4971, allocations: 4.141 MB / 0.5977 GB, free: 10.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.4971, allocations: 11.66 kB / 0.5977 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002063/0.4992, allocations: 0.7058 MB / 0.5984 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01275/0.5119, allocations: 3.105 MB / 0.6014 GB, free: 9.988 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006887/0.5188, allocations: 2.135 MB / 0.6035 GB, free: 9.477 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.5191, allocations: 191.9 kB / 0.6037 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001288/0.5204, allocations: 242.4 kB / 0.6039 GB, free: 9.465 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02101/0.5414, allocations: 10.19 MB / 0.6139 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002215/0.5416, allocations: 23.55 kB / 0.6139 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001254/0.5429, allocations: 119.6 kB / 0.614 GB, free: 7.297 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00409/0.5469, allocations: 2.465 MB / 0.6164 GB, free: 6.891 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0178/0.5647, allocations: 9.354 MB / 0.6256 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05466/0.6194, allocations: 31.52 MB / 0.6563 GB, free: 6.039 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006565/0.626, allocations: 3.247 MB / 0.6595 GB, free: 2.566 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.6277, allocations: 0.9919 MB / 0.6605 GB, free: 1.574 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/0.6292, allocations: 1.31 MB / 0.6618 GB, free: 56 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.6292, allocations: 43.88 kB / 0.6618 GB, free: 4 kB / 478.1 MB Notification: Performance of pre-optimization done (n=185): time 5.65e-06/0.6292, allocations: 3.844 kB / 0.6618 GB, free: 4 kB / 478.1 MB Notification: Performance of matching and sorting (n=191): time 0.02164/0.6509, allocations: 9.17 MB / 0.6708 GB, free: 6.773 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.6509, allocations: 69.66 kB / 0.6708 GB, free: 6.691 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004254/0.6552, allocations: 2.615 MB / 0.6734 GB, free: 4.059 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002736/0.6555, allocations: 48.91 kB / 0.6734 GB, free: 4.008 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002677/0.6581, allocations: 2.785 MB / 0.6761 GB, free: 1.246 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001067/0.6592, allocations: 0.7273 MB / 0.6769 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001577/0.6608, allocations: 0.9778 MB / 0.6778 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.6609, allocations: 309.1 kB / 0.6781 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002612/0.6635, allocations: 1.54 MB / 0.6796 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005438/0.669, allocations: 4.367 MB / 0.6839 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008867/0.6778, allocations: 6.555 MB / 0.6903 GB, free: 432 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.102e-05/0.6779, allocations: 32 kB / 0.6903 GB, free: 400 kB / 0.4981 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01125/0.6892, allocations: 5.839 MB / 0.696 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.515e-05/0.6893, allocations: 53.8 kB / 0.6961 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001427/0.6894, allocations: 100 kB / 0.6961 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003913/0.6898, allocations: 172.8 kB / 0.6963 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003542/0.6934, allocations: 1.068 MB / 0.6974 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.6953, allocations: 1.792 MB / 0.6991 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003124/0.6984, allocations: 216 kB / 0.6993 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007946/0.6992, allocations: 287.9 kB / 0.6996 GB, free: 7.129 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (592): * Single equations (assignments): 585 * Array equations: 6 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0042/0.7034, allocations: 1.991 MB / 0.7015 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006363/0.7041, allocations: 262.2 kB / 0.7018 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005415/0.7095, allocations: 2.537 MB / 0.7043 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.424e-05/0.7095, allocations: 20 kB / 0.7043 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.7095, allocations: 0 / 0.7043 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/0.7096, allocations: 7.969 kB / 0.7043 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01703/0.7266, allocations: 7.932 MB / 0.712 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.62e-05/0.7266, allocations: 16.91 kB / 0.712 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.7277, allocations: 245.2 kB / 0.7123 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001892/0.7279, allocations: 60.83 kB / 0.7123 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/0.728, allocations: 42.66 kB / 0.7124 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.7296, allocations: 1.629 MB / 0.714 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.517e-05/0.7296, allocations: 15.94 kB / 0.714 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005723/0.7353, allocations: 4.032 MB / 0.7179 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00083/0.7362, allocations: 303.4 kB / 0.7182 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/0.7364, allocations: 43.98 kB / 0.7183 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007563/0.7372, allocations: 55.94 kB / 0.7183 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.7374, allocations: 120.7 kB / 0.7184 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/0.7376, allocations: 70.58 kB / 0.7185 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002512/0.7401, allocations: 1.607 MB / 0.7201 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7401, allocations: 0 / 0.7201 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003603/0.7437, allocations: 0.78 MB / 0.7208 GB, free: 0.8789 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006101/0.7498, allocations: 4.704 MB / 0.7254 GB, free: 12.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006675/0.7565, allocations: 3.715 MB / 0.729 GB, free: 8.332 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.779e-05/0.7565, allocations: 4 kB / 0.729 GB, free: 8.328 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001897/0.7584, allocations: 1.168 MB / 0.7302 GB, free: 7.152 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/0.7605, allocations: 341.8 kB / 0.7305 GB, free: 6.824 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0652/0.8257, allocations: 33.35 MB / 0.7631 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006774/0.8325, allocations: 3.129 MB / 0.7661 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004857/0.8373, allocations: 1.717 MB / 0.7678 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003351/0.8407, allocations: 1.69 MB / 0.7695 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of SimCode: time 1.633e-06/0.8407, allocations: 4 kB / 0.7695 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/0.943, allocations: 45.99 MB / 0.8144 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.57/18.51, allocations: 19.23 kB / 0.8144 GB, free: 12.9 MB / 0.6387 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.605816368944943] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v'] 18.62252491619438 18.637055602 18.148438969 Calling exit ...