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.001602/0.001602, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.001896/0.001896, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.521/1.521, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.237/0.237, allocations: 46.92 MB / 357.7 MB, free: 10.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.002241/0.002241, allocations: 79.88 kB / 0.4917 GB, free: 7.812 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1288, allocations: 66.04 MB / 0.5562 GB, free: 5.645 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01376/0.1425, allocations: 12.31 MB / 0.5682 GB, free: 9.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007845/0.1504, allocations: 3.882 MB / 0.572 GB, free: 5.371 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.1519, allocations: 71.75 kB / 0.572 GB, free: 5.301 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002739/0.1547, allocations: 1.331 MB / 0.5733 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004211/0.1589, allocations: 1.767 MB / 0.5751 GB, free: 2.191 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1599, allocations: 423.2 kB / 0.5755 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004633/0.1646, allocations: 3.596 MB / 0.579 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/0.1668, allocations: 1.775 MB / 0.5807 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.1684, allocations: 1.214 MB / 0.5819 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002455/0.1709, allocations: 1.916 MB / 0.5838 GB, free: 9.227 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005296/0.1714, allocations: 240 kB / 0.584 GB, free: 8.992 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.173, allocations: 0.8424 MB / 0.5848 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001568/0.1746, allocations: 1.601 MB / 0.5864 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002433/0.177, allocations: 1.882 MB / 0.5882 GB, free: 4.648 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2848/0.4618, allocations: 6.088 MB / 0.5942 GB, free: 12.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.4618, allocations: 0.75 kB / 0.5942 GB, free: 12.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4618, allocations: 0 / 0.5942 GB, free: 12.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002455/0.4621, allocations: 0 / 0.5942 GB, free: 12.02 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.0093/0.4714, allocations: 4.143 MB / 0.5982 GB, free: 10.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.4714, allocations: 9.219 kB / 0.5982 GB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001311/0.4727, allocations: 0.7046 MB / 0.5989 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/0.4847, allocations: 3.112 MB / 0.602 GB, free: 9.832 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005758/0.4904, allocations: 2.134 MB / 0.604 GB, free: 9.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/0.4907, allocations: 185 kB / 0.6042 GB, free: 9.312 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001267/0.4919, allocations: 247.8 kB / 0.6045 GB, free: 9.309 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01776/0.5097, allocations: 10.18 MB / 0.6144 GB, free: 7.188 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001081/0.5098, allocations: 23.78 kB / 0.6144 GB, free: 7.188 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005353/0.5103, allocations: 121.5 kB / 0.6145 GB, free: 7.145 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003952/0.5143, allocations: 2.463 MB / 0.6169 GB, free: 6.738 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01743/0.5317, allocations: 9.359 MB / 0.6261 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04597/0.5777, allocations: 31.51 MB / 0.6569 GB, free: 5.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006219/0.5839, allocations: 3.246 MB / 0.66 GB, free: 2.027 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.5855, allocations: 1.002 MB / 0.661 GB, free: 1.027 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.5868, allocations: 1.305 MB / 0.6623 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.5868, allocations: 45.3 kB / 0.6623 GB, free: 15.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 4.418e-06/0.5868, allocations: 0 / 0.6623 GB, free: 15.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02084/0.6076, allocations: 9.171 MB / 0.6713 GB, free: 6.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.6077, allocations: 70.58 kB / 0.6713 GB, free: 6.148 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003878/0.6116, allocations: 2.609 MB / 0.6739 GB, free: 3.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002183/0.6118, allocations: 49.7 kB / 0.6739 GB, free: 3.465 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002277/0.6141, allocations: 2.779 MB / 0.6767 GB, free: 0.707 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000865/0.6149, allocations: 0.7345 MB / 0.6774 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001288/0.6162, allocations: 0.9675 MB / 0.6783 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.6164, allocations: 318.8 kB / 0.6786 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002412/0.6188, allocations: 1.541 MB / 0.6801 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004689/0.6235, allocations: 4.37 MB / 0.6844 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007959/0.6314, allocations: 6.553 MB / 0.6908 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.207e-05/0.6315, allocations: 32 kB / 0.6908 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01/0.6415, allocations: 5.84 MB / 0.6965 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.552e-05/0.6416, allocations: 51.94 kB / 0.6966 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001142/0.6417, allocations: 104.7 kB / 0.6967 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000339/0.642, allocations: 168.8 kB / 0.6968 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/0.6451, allocations: 1.068 MB / 0.6979 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.6469, allocations: 1.799 MB / 0.6996 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002587/0.6495, allocations: 207.9 kB / 0.6998 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004047/0.6499, allocations: 295.9 kB / 0.7001 GB, free: 6.605 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.003672/0.6535, allocations: 1.988 MB / 0.7021 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005662/0.6541, allocations: 262.2 kB / 0.7023 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/0.6583, allocations: 2.533 MB / 0.7048 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-05/0.6583, allocations: 21.64 kB / 0.7048 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.6583, allocations: 0 / 0.7048 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/0.6583, allocations: 7.969 kB / 0.7048 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/0.6716, allocations: 7.936 MB / 0.7126 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/0.6716, allocations: 12 kB / 0.7126 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.6726, allocations: 247.6 kB / 0.7128 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001812/0.6728, allocations: 63.39 kB / 0.7129 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.6729, allocations: 40.58 kB / 0.7129 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/0.6745, allocations: 1.636 MB / 0.7145 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/0.6745, allocations: 15.94 kB / 0.7145 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005614/0.6801, allocations: 4.025 MB / 0.7185 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006996/0.6808, allocations: 311.4 kB / 0.7188 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003044/0.6811, allocations: 38.48 kB / 0.7188 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008183/0.6819, allocations: 54.14 kB / 0.7188 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/0.6821, allocations: 124.6 kB / 0.719 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.6823, allocations: 70.19 kB / 0.719 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002602/0.6849, allocations: 1.607 MB / 0.7206 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6849, allocations: 0 / 0.7206 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004016/0.6889, allocations: 0.7765 MB / 0.7214 GB, free: 364 kB / 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.006316/0.6952, allocations: 4.701 MB / 0.7259 GB, free: 11.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0064/0.7016, allocations: 3.719 MB / 0.7296 GB, free: 7.805 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/0.7016, allocations: 4 kB / 0.7296 GB, free: 7.801 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001978/0.7036, allocations: 1.168 MB / 0.7307 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/0.7057, allocations: 346 kB / 0.7311 GB, free: 6.293 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05963/0.7654, allocations: 33.35 MB / 0.7636 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004482/0.7699, allocations: 3.129 MB / 0.7667 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004664/0.7745, allocations: 1.716 MB / 0.7684 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002663/0.7772, allocations: 1.686 MB / 0.77 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of SimCode: time 1.823e-06/0.7772, allocations: 4 kB / 0.77 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1248/0.902, allocations: 46 MB / 0.8149 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.8/18.71, allocations: 8 kB / 0.8149 GB, free: 12.38 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 & 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: 21.892679054290056] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v'] 18.823827129788697 18.839252473 18.374230305 Calling exit ...