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.001621/0.001621, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.001919/0.001919, allocations: 212.3 kB / 23 MB, free: 5.609 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.565/1.565, allocations: 230.2 MB / 256.2 MB, free: 8.719 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.2471/0.2471, allocations: 46.89 MB / 359.4 MB, free: 4.926 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.002588/0.002588, allocations: 87.84 kB / 0.4941 GB, free: 9.004 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.372, allocations: 65.99 MB / 0.5586 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.0161/0.3881, allocations: 12.34 MB / 0.5706 GB, free: 8.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008891/0.397, allocations: 3.898 MB / 0.5744 GB, free: 4.852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002203/0.3992, allocations: 59.88 kB / 0.5745 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003319/0.4025, allocations: 1.343 MB / 0.5758 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004845/0.4074, allocations: 1.755 MB / 0.5775 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.4087, allocations: 423.2 kB / 0.5779 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005482/0.4141, allocations: 3.598 MB / 0.5814 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002852/0.417, allocations: 1.605 MB / 0.583 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002586/0.4196, allocations: 1.199 MB / 0.5842 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003199/0.4228, allocations: 1.923 MB / 0.5861 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001048/0.4238, allocations: 240 kB / 0.5863 GB, free: 8.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002616/0.4264, allocations: 0.8346 MB / 0.5871 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00242/0.4289, allocations: 1.604 MB / 0.5887 GB, free: 6.215 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003683/0.4325, allocations: 1.875 MB / 0.5905 GB, free: 4.328 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00937/0.4419, allocations: 6.103 MB / 0.5965 GB, free: 14.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4419, allocations: 0 / 0.5965 GB, free: 14.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4419, allocations: 4 kB / 0.5965 GB, free: 14.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002464/0.4422, allocations: 0 / 0.5965 GB, free: 14.2 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.01091/0.4531, allocations: 4.14 MB / 0.6005 GB, free: 9.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.4531, allocations: 12.03 kB / 0.6005 GB, free: 9.969 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001785/0.4549, allocations: 0.7118 MB / 0.6012 GB, free: 9.246 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/0.4663, allocations: 3.098 MB / 0.6042 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005434/0.4718, allocations: 2.132 MB / 0.6063 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/0.472, allocations: 196.7 kB / 0.6065 GB, free: 3.762 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001197/0.4732, allocations: 247.8 kB / 0.6067 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01868/0.4919, allocations: 10.17 MB / 0.6167 GB, free: 8.914 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.856e-05/0.492, allocations: 31.75 kB / 0.6167 GB, free: 8.883 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004939/0.4925, allocations: 123.8 kB / 0.6168 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004243/0.4967, allocations: 2.456 MB / 0.6192 GB, free: 6.301 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02004/0.5167, allocations: 9.357 MB / 0.6284 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05338/0.5701, allocations: 31.53 MB / 0.6591 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006507/0.5766, allocations: 3.246 MB / 0.6623 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.5784, allocations: 0.9937 MB / 0.6633 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/0.5797, allocations: 1.31 MB / 0.6646 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.5797, allocations: 47.88 kB / 0.6646 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 4.919e-06/0.5798, allocations: 0 / 0.6646 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02146/0.6012, allocations: 9.173 MB / 0.6736 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.6013, allocations: 68.72 kB / 0.6736 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00397/0.6052, allocations: 2.616 MB / 0.6762 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000282/0.6055, allocations: 53.7 kB / 0.6762 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002299/0.6078, allocations: 2.776 MB / 0.679 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009512/0.6088, allocations: 0.7364 MB / 0.6797 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001534/0.6103, allocations: 0.9653 MB / 0.6806 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6105, allocations: 309.1 kB / 0.6809 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002614/0.6131, allocations: 1.536 MB / 0.6824 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005347/0.6184, allocations: 4.379 MB / 0.6867 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009051/0.6275, allocations: 6.552 MB / 0.6931 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001024/0.6276, allocations: 32 kB / 0.6931 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01192/0.6395, allocations: 5.848 MB / 0.6988 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.373e-05/0.6396, allocations: 48 kB / 0.6989 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/0.6397, allocations: 103.9 kB / 0.699 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004/0.6401, allocations: 173.6 kB / 0.6991 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003648/0.6438, allocations: 1.072 MB / 0.7002 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.6457, allocations: 1.785 MB / 0.7019 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002965/0.6487, allocations: 208 kB / 0.7021 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008462/0.6496, allocations: 296 kB / 0.7024 GB, free: 12.69 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.004223/0.6538, allocations: 1.985 MB / 0.7043 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005626/0.6543, allocations: 262.2 kB / 0.7046 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004692/0.659, allocations: 2.537 MB / 0.7071 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.805e-05/0.6591, allocations: 20 kB / 0.7071 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6591, allocations: 0 / 0.7071 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/0.6591, allocations: 7.969 kB / 0.7071 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01583/0.6749, allocations: 7.934 MB / 0.7148 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.473e-05/0.675, allocations: 20.02 kB / 0.7149 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.676, allocations: 243.6 kB / 0.7151 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001965/0.6762, allocations: 60.77 kB / 0.7152 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/0.6764, allocations: 36 kB / 0.7152 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.6781, allocations: 1.633 MB / 0.7168 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/0.6781, allocations: 11.94 kB / 0.7168 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006262/0.6844, allocations: 4.028 MB / 0.7207 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008195/0.6852, allocations: 311.3 kB / 0.721 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004807/0.6857, allocations: 39.98 kB / 0.7211 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009974/0.6867, allocations: 55.95 kB / 0.7211 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/0.6869, allocations: 124.6 kB / 0.7212 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.687, allocations: 63.98 kB / 0.7213 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00301/0.6901, allocations: 1.607 MB / 0.7229 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6901, allocations: 0 / 0.7229 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004578/0.6946, allocations: 0.7734 MB / 0.7236 GB, free: 6.398 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.007173/0.7018, allocations: 4.711 MB / 0.7282 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2899/0.9917, allocations: 3.708 MB / 0.7318 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.467e-05/0.9917, allocations: 3.906 kB / 0.7318 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.9934, allocations: 1.168 MB / 0.733 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.9956, allocations: 351.1 kB / 0.7333 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04451/1.04, allocations: 33.46 MB / 0.766 GB, free: 129 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003861/1.044, allocations: 3.13 MB / 0.7691 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003483/1.047, allocations: 1.71 MB / 0.7707 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002617/1.05, allocations: 1.69 MB / 0.7724 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.663e-06/1.05, allocations: 3.938 kB / 0.7724 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08164/1.132, allocations: 46.19 MB / 0.8175 GB, free: 76.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.97/19.1, allocations: 13.3 kB / 0.8175 GB, free: 76.43 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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.07211358100176] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v'] 19.218466820020694 19.234426987 18.78873657 Calling exit ...