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.001364/0.001364, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001551/0.001551, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.444/1.444, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2362/0.2362, allocations: 46.92 MB / 361.6 MB, free: 4.223 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.002351/0.002351, allocations: 87.84 kB / 0.497 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3501, allocations: 66.07 MB / 0.5615 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.0144/0.3645, allocations: 12.34 MB / 0.5736 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008939/0.3735, allocations: 3.904 MB / 0.5774 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002377/0.3758, allocations: 71.75 kB / 0.5774 GB, free: 3.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003095/0.3789, allocations: 1.343 MB / 0.5788 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004566/0.3835, allocations: 1.771 MB / 0.5805 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.3847, allocations: 423.2 kB / 0.5809 GB, free: 424 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005232/0.3899, allocations: 3.602 MB / 0.5844 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002702/0.3926, allocations: 1.84 MB / 0.5862 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002303/0.3949, allocations: 1.214 MB / 0.5874 GB, free: 9.711 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00325/0.3981, allocations: 1.919 MB / 0.5893 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007026/0.3988, allocations: 236 kB / 0.5895 GB, free: 7.555 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.4008, allocations: 0.8502 MB / 0.5903 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001845/0.4027, allocations: 1.601 MB / 0.5919 GB, free: 5.098 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002461/0.4051, allocations: 1.875 MB / 0.5937 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008324/0.4135, allocations: 6.095 MB / 0.5997 GB, free: 13.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.4135, allocations: 0 / 0.5997 GB, free: 13.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4135, allocations: 4 kB / 0.5997 GB, free: 13.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002053/0.4137, allocations: 0 / 0.5997 GB, free: 13.09 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.008474/0.4221, allocations: 4.076 MB / 0.6036 GB, free: 8.953 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.4222, allocations: 12.03 kB / 0.6037 GB, free: 8.941 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001221/0.4234, allocations: 0.7079 MB / 0.6043 GB, free: 8.223 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/0.4338, allocations: 3.106 MB / 0.6074 GB, free: 5.109 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004979/0.4388, allocations: 2.06 MB / 0.6094 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.439, allocations: 188.8 kB / 0.6096 GB, free: 2.824 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008846/0.4399, allocations: 251.8 kB / 0.6098 GB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01805/0.4579, allocations: 10.18 MB / 0.6198 GB, free: 7.965 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.708e-05/0.458, allocations: 23.81 kB / 0.6198 GB, free: 7.941 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003816/0.4584, allocations: 119.8 kB / 0.6199 GB, free: 7.824 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004095/0.4625, allocations: 2.459 MB / 0.6223 GB, free: 5.363 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01878/0.4813, allocations: 9.364 MB / 0.6314 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04796/0.5292, allocations: 31.41 MB / 0.6621 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005778/0.535, allocations: 2.348 MB / 0.6644 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.5366, allocations: 0.9938 MB / 0.6654 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008976/0.5375, allocations: 438.6 kB / 0.6658 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.5376, allocations: 43.88 kB / 0.6658 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 4.128e-06/0.5376, allocations: 0 / 0.6658 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02039/0.558, allocations: 8.939 MB / 0.6746 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.558, allocations: 68.72 kB / 0.6746 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003948/0.562, allocations: 2.616 MB / 0.6772 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002177/0.5622, allocations: 49.69 kB / 0.6772 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002679/0.5649, allocations: 2.784 MB / 0.6799 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001068/0.5659, allocations: 0.7286 MB / 0.6807 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00145/0.5674, allocations: 0.9731 MB / 0.6816 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.5676, allocations: 305.1 kB / 0.6819 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002478/0.57, allocations: 1.544 MB / 0.6834 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00499/0.575, allocations: 4.367 MB / 0.6877 GB, free: 24 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008531/0.5835, allocations: 6.567 MB / 0.6941 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.777e-05/0.5836, allocations: 28 kB / 0.6941 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01018/0.5938, allocations: 5.841 MB / 0.6998 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-05/0.5939, allocations: 51.98 kB / 0.6999 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/0.594, allocations: 100 kB / 0.7 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003567/0.5944, allocations: 172.8 kB / 0.7001 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003214/0.5976, allocations: 1.068 MB / 0.7012 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.5996, allocations: 1.685 MB / 0.7028 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/0.6022, allocations: 215.8 kB / 0.703 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005108/0.6027, allocations: 292 kB / 0.7033 GB, free: 14.49 MB / 0.545 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.003382/0.6061, allocations: 1.994 MB / 0.7052 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005042/0.6066, allocations: 258.2 kB / 0.7055 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004081/0.6107, allocations: 2.534 MB / 0.708 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.348e-05/0.6107, allocations: 23.98 kB / 0.708 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.6108, allocations: 3.984 kB / 0.708 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.6108, allocations: 7.984 kB / 0.708 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/0.6245, allocations: 7.914 MB / 0.7157 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/0.6245, allocations: 8 kB / 0.7157 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000984/0.6255, allocations: 251.6 kB / 0.716 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001709/0.6257, allocations: 57.52 kB / 0.716 GB, free: 1.223 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.6258, allocations: 48 kB / 0.7161 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.6274, allocations: 1.519 MB / 0.7176 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/0.6274, allocations: 19.88 kB / 0.7176 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005779/0.6332, allocations: 4.021 MB / 0.7215 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006726/0.6339, allocations: 234.4 kB / 0.7217 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/0.6341, allocations: 51.97 kB / 0.7218 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007558/0.6349, allocations: 51.95 kB / 0.7218 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/0.6351, allocations: 132.5 kB / 0.722 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.6353, allocations: 59.98 kB / 0.722 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002631/0.6379, allocations: 1.603 MB / 0.7236 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6379, allocations: 4 kB / 0.7236 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003704/0.6416, allocations: 0.7734 MB / 0.7243 GB, free: 8.441 MB / 0.5606 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.007334/0.6489, allocations: 4.707 MB / 0.7289 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2682/0.9171, allocations: 3.709 MB / 0.7326 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/0.9171, allocations: 7.75 kB / 0.7326 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002594/0.9197, allocations: 1.166 MB / 0.7337 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.9219, allocations: 339 kB / 0.734 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04248/0.9643, allocations: 33.45 MB / 0.7667 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002905/0.9672, allocations: 3.129 MB / 0.7697 GB, free: 127 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00301/0.9703, allocations: 1.714 MB / 0.7714 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00173/0.972, allocations: 1.69 MB / 0.7731 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.283e-06/0.972, allocations: 0 / 0.7731 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08575/1.058, allocations: 49.9 MB / 0.8218 GB, free: 73.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.4/18.45, allocations: 7.922 kB / 0.8218 GB, free: 73.94 MB / 0.5606 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.359658340923488] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v'] 18.581588498782367 18.592052384 18.176016888 Calling exit ...