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.001718/0.001718, allocations: 117.2 kB / 18.45 MB, free: 4.613 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.002089/0.002089, allocations: 205.7 kB / 21.41 MB, free: 1.66 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.515/1.515, allocations: 227.4 MB / 251.7 MB, free: 60 kB / 190.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.2343/0.2343, allocations: 46.14 MB / 351.1 MB, free: 14.31 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.002561/0.002562, allocations: 85.97 kB / 489.7 MB, free: 28.42 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1282, allocations: 62.45 MB / 0.5392 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01476/0.143, allocations: 12.26 MB / 0.5511 GB, free: 8.461 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008992/0.1521, allocations: 3.855 MB / 0.5549 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/0.1544, allocations: 63.88 kB / 0.555 GB, free: 4.527 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003432/0.1579, allocations: 1.315 MB / 0.5563 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004947/0.1629, allocations: 1.72 MB / 0.5579 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.1642, allocations: 427.2 kB / 0.5583 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005577/0.1698, allocations: 3.596 MB / 0.5619 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003646/0.1735, allocations: 2.013 MB / 0.5638 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002516/0.1761, allocations: 1.183 MB / 0.565 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003398/0.1795, allocations: 1.74 MB / 0.5667 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00104/0.1806, allocations: 240 kB / 0.5669 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.1831, allocations: 0.8074 MB / 0.5677 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002352/0.1855, allocations: 1.574 MB / 0.5692 GB, free: 5.863 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003886/0.1894, allocations: 1.867 MB / 0.5711 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008805/0.1982, allocations: 6.095 MB / 0.577 GB, free: 13.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1983, allocations: 0 / 0.577 GB, free: 13.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1983, allocations: 4 kB / 0.577 GB, free: 13.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002299/0.1985, allocations: 0 / 0.577 GB, free: 13.86 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.008931/0.2075, allocations: 4.152 MB / 0.5811 GB, free: 9.633 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.2075, allocations: 12.03 kB / 0.5811 GB, free: 9.621 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001654/0.2092, allocations: 0.7001 MB / 0.5818 GB, free: 8.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/0.2203, allocations: 3.11 MB / 0.5848 GB, free: 5.793 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004875/0.2253, allocations: 2.128 MB / 0.5869 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.2255, allocations: 196.8 kB / 0.5871 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001065/0.2266, allocations: 243.8 kB / 0.5873 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01884/0.2455, allocations: 10.18 MB / 0.5972 GB, free: 8.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001448/0.2457, allocations: 27.81 kB / 0.5973 GB, free: 8.543 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001025/0.2467, allocations: 115.8 kB / 0.5974 GB, free: 8.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004523/0.2512, allocations: 2.463 MB / 0.5998 GB, free: 5.961 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.315/0.5663, allocations: 9.352 MB / 0.6089 GB, free: 53.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0555/0.6219, allocations: 31.53 MB / 0.6397 GB, free: 33.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005719/0.6276, allocations: 3.357 MB / 0.643 GB, free: 30.99 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.6293, allocations: 1.064 MB / 0.644 GB, free: 30.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008537/0.6302, allocations: 1.305 MB / 0.6453 GB, free: 29.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.6303, allocations: 54.83 kB / 0.6453 GB, free: 29.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=185): time 6.432e-06/0.6303, allocations: 0 / 0.6453 GB, free: 29.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=191): time 0.0207/0.651, allocations: 9.166 MB / 0.6543 GB, free: 24.12 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.6511, allocations: 68.72 kB / 0.6544 GB, free: 24.04 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003946/0.655, allocations: 2.617 MB / 0.6569 GB, free: 21.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002565/0.6553, allocations: 49.7 kB / 0.657 GB, free: 21.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001328/0.6567, allocations: 2.774 MB / 0.6597 GB, free: 18.69 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006766/0.6574, allocations: 0.7413 MB / 0.6604 GB, free: 17.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001548/0.6589, allocations: 0.9605 MB / 0.6613 GB, free: 16.99 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.78e-05/0.659, allocations: 309.1 kB / 0.6616 GB, free: 16.69 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/0.6611, allocations: 1.544 MB / 0.6631 GB, free: 15.14 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003327/0.6645, allocations: 4.371 MB / 0.6674 GB, free: 9.359 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006023/0.6705, allocations: 6.555 MB / 0.6738 GB, free: 1.406 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001146/0.6707, allocations: 29.03 kB / 0.6738 GB, free: 1.379 MB / 462.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01257/0.6833, allocations: 5.857 MB / 0.6796 GB, free: 11.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.6835, allocations: 49.72 kB / 0.6796 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002122/0.6837, allocations: 100 kB / 0.6797 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005539/0.6843, allocations: 172.8 kB / 0.6799 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003864/0.6882, allocations: 1.064 MB / 0.6809 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.6903, allocations: 1.799 MB / 0.6827 GB, free: 8.199 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/0.6937, allocations: 203.9 kB / 0.6829 GB, free: 8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/0.6949, allocations: 296 kB / 0.6831 GB, free: 7.711 MB / 478.1 MB 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.005053/0.7, allocations: 1.989 MB / 0.6851 GB, free: 5.715 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008796/0.7009, allocations: 258.3 kB / 0.6853 GB, free: 5.461 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005796/0.7067, allocations: 2.531 MB / 0.6878 GB, free: 2.902 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-05/0.7068, allocations: 23.44 kB / 0.6878 GB, free: 2.883 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.7068, allocations: 3.938 kB / 0.6878 GB, free: 2.879 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.714e-05/0.7069, allocations: 7.984 kB / 0.6878 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0203/0.7272, allocations: 7.932 MB / 0.6956 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.673e-05/0.7272, allocations: 8 kB / 0.6956 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.7285, allocations: 254.5 kB / 0.6958 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002671/0.7288, allocations: 61.48 kB / 0.6959 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002157/0.729, allocations: 39.98 kB / 0.6959 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/0.7307, allocations: 1.632 MB / 0.6975 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.347e-05/0.7307, allocations: 15.94 kB / 0.6975 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006425/0.7372, allocations: 4.032 MB / 0.7015 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007393/0.738, allocations: 311.3 kB / 0.7018 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005853/0.7386, allocations: 38.19 kB / 0.7018 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.7398, allocations: 51.95 kB / 0.7019 GB, free: 4.055 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003228/0.7401, allocations: 120.7 kB / 0.702 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002084/0.7403, allocations: 66.25 kB / 0.702 GB, free: 3.871 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003131/0.7435, allocations: 1.6 MB / 0.7036 GB, free: 2.262 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7435, allocations: 3.281 kB / 0.7036 GB, free: 2.262 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0046/0.7481, allocations: 0.7875 MB / 0.7044 GB, free: 1.477 MB / 494.1 MB 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.007373/0.7555, allocations: 4.703 MB / 0.709 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00705/0.7626, allocations: 3.871 MB / 0.7127 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/0.7627, allocations: 1.875 kB / 0.7127 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002375/0.7651, allocations: 1.231 MB / 0.7139 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/0.7681, allocations: 343.2 kB / 0.7143 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06715/0.8353, allocations: 33.34 MB / 0.7468 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006191/0.8416, allocations: 3.137 MB / 0.7499 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004407/0.846, allocations: 1.71 MB / 0.7516 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003178/0.8492, allocations: 1.694 MB / 0.7532 GB, free: 11.01 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/0.8493, allocations: 0 / 0.7532 GB, free: 11.01 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/0.9508, allocations: 45.68 MB / 0.7978 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.2/19.15, allocations: 14.5 kB / 0.7978 GB, free: 13.52 MB / 0.5919 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: 22.21283350000158] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v'] 19.26840728195384 19.285688264 19.084455174 Calling exit ...