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.001434/0.001434, allocations: 105.5 kB / 19.74 MB, free: 2.566 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.001608/0.001608, allocations: 220.4 kB / 22.92 MB, free: 5.535 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.297/1.297, allocations: 230.2 MB / 256.2 MB, free: 8.738 MB / 206.1 MB " [Timeout remaining time 179] 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.201/0.201, allocations: 46.9 MB / 359.3 MB, free: 4.961 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.002104/0.002104, allocations: 83.86 kB / 0.494 GB, free: 9.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2573, allocations: 65.99 MB / 0.5584 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01323/0.2706, allocations: 12.33 MB / 0.5705 GB, free: 8.801 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006967/0.2775, allocations: 3.898 MB / 0.5743 GB, free: 4.887 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008468/0.2784, allocations: 63.88 kB / 0.5743 GB, free: 4.824 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.2806, allocations: 1.346 MB / 0.5756 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002749/0.2834, allocations: 1.763 MB / 0.5774 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007125/0.2841, allocations: 419.2 kB / 0.5778 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003617/0.2877, allocations: 3.598 MB / 0.5813 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.2893, allocations: 1.613 MB / 0.5829 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.2905, allocations: 1.195 MB / 0.584 GB, free: 10.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002063/0.2926, allocations: 1.916 MB / 0.5859 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004385/0.293, allocations: 240 kB / 0.5861 GB, free: 8.691 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.2944, allocations: 0.8386 MB / 0.5869 GB, free: 7.852 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001321/0.2957, allocations: 1.601 MB / 0.5885 GB, free: 6.246 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.2973, allocations: 1.879 MB / 0.5903 GB, free: 4.355 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00562/0.3029, allocations: 6.103 MB / 0.5963 GB, free: 14.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3029, allocations: 0 / 0.5963 GB, free: 14.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3029, allocations: 0 / 0.5963 GB, free: 14.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.965e-05/0.303, allocations: 0 / 0.5963 GB, free: 14.23 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.005721/0.3087, allocations: 4.152 MB / 0.6004 GB, free: 10 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3088, allocations: 8.031 kB / 0.6004 GB, free: 9.992 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007263/0.3095, allocations: 0.6962 MB / 0.601 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.3196, allocations: 3.11 MB / 0.6041 GB, free: 6.168 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003477/0.3231, allocations: 2.132 MB / 0.6062 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.3232, allocations: 196.7 kB / 0.6063 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004544/0.3236, allocations: 239.8 kB / 0.6066 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/0.3366, allocations: 10.18 MB / 0.6165 GB, free: 8.938 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-05/0.3367, allocations: 23.81 kB / 0.6165 GB, free: 8.914 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003291/0.337, allocations: 115.8 kB / 0.6167 GB, free: 8.801 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003735/0.3408, allocations: 2.467 MB / 0.6191 GB, free: 6.328 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01418/0.3549, allocations: 9.353 MB / 0.6282 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03541/0.3903, allocations: 31.53 MB / 0.659 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005325/0.3957, allocations: 3.25 MB / 0.6622 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.397, allocations: 0.9937 MB / 0.6631 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/0.3981, allocations: 1.314 MB / 0.6644 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.3982, allocations: 47.88 kB / 0.6645 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 3.056e-06/0.3982, allocations: 3.938 kB / 0.6645 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.01818/0.4164, allocations: 9.162 MB / 0.6734 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.4164, allocations: 64.72 kB / 0.6735 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003131/0.4195, allocations: 2.623 MB / 0.676 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.343e-05/0.4196, allocations: 53.61 kB / 0.6761 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001825/0.4214, allocations: 2.78 MB / 0.6788 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005863/0.422, allocations: 0.7325 MB / 0.6795 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.4231, allocations: 0.9653 MB / 0.6805 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.4232, allocations: 301.1 kB / 0.6807 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002101/0.4253, allocations: 1.544 MB / 0.6823 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004166/0.4295, allocations: 4.379 MB / 0.6865 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007001/0.4365, allocations: 6.552 MB / 0.6929 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-05/0.4366, allocations: 28 kB / 0.693 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.008053/0.4446, allocations: 5.852 MB / 0.6987 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.112e-05/0.4447, allocations: 48 kB / 0.6987 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.903e-05/0.4448, allocations: 104 kB / 0.6988 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000288/0.445, allocations: 176.9 kB / 0.699 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002797/0.4478, allocations: 1.061 MB / 0.7 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.4494, allocations: 1.793 MB / 0.7018 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/0.4514, allocations: 203.9 kB / 0.702 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003394/0.4517, allocations: 296 kB / 0.7022 GB, free: 12.72 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.002559/0.4543, allocations: 1.989 MB / 0.7042 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/0.4546, allocations: 258.2 kB / 0.7044 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003564/0.4581, allocations: 2.53 MB / 0.7069 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.133e-05/0.4581, allocations: 23.98 kB / 0.7069 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.4582, allocations: 4 kB / 0.7069 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.4582, allocations: 11.97 kB / 0.7069 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.4688, allocations: 7.938 MB / 0.7147 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.4688, allocations: 8 kB / 0.7147 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009168/0.4697, allocations: 247.6 kB / 0.7149 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001397/0.4698, allocations: 60.77 kB / 0.715 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.834e-05/0.4699, allocations: 43.98 kB / 0.715 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.4713, allocations: 1.618 MB / 0.7166 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/0.4713, allocations: 15.94 kB / 0.7166 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004822/0.4761, allocations: 4.028 MB / 0.7206 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.4764, allocations: 311.5 kB / 0.7209 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/0.4767, allocations: 48.05 kB / 0.7209 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006807/0.4773, allocations: 59.94 kB / 0.721 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/0.4775, allocations: 124.6 kB / 0.7211 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.4776, allocations: 56 kB / 0.7211 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001943/0.4796, allocations: 1.603 MB / 0.7227 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.4796, allocations: 0 / 0.7227 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002771/0.4823, allocations: 0.785 MB / 0.7235 GB, free: 6.418 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.005241/0.4876, allocations: 4.707 MB / 0.7281 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.199/0.6866, allocations: 3.704 MB / 0.7317 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.6866, allocations: 3.938 kB / 0.7317 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.6878, allocations: 1.171 MB / 0.7328 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.6893, allocations: 342.2 kB / 0.7332 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02645/0.7158, allocations: 33.45 MB / 0.7658 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002125/0.7179, allocations: 3.127 MB / 0.7689 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002528/0.7204, allocations: 1.71 MB / 0.7706 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/0.7218, allocations: 1.698 MB / 0.7722 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.292e-06/0.7218, allocations: 4 kB / 0.7722 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06701/0.7888, allocations: 46.18 MB / 0.8173 GB, free: 76.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/15.58, allocations: 7.672 kB / 0.8173 GB, free: 76.25 MB / 0.5606 GB " [Timeout remaining time 644] (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 --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: 18.119428706006147]