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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001702/0.001702, allocations: 118.7 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001756/0.001756, allocations: 203.9 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.242/0.242, allocations: 46.11 MB / 344.3 MB, free: 11.44 MB / 286.1 MB 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.002502/0.002502, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3441, allocations: 62.44 MB / 0.5306 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01456/0.3587, allocations: 12.27 MB / 0.5426 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00931/0.3681, allocations: 3.863 MB / 0.5464 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002784/0.3709, allocations: 61.81 kB / 0.5464 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00346/0.3745, allocations: 1.31 MB / 0.5477 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005519/0.38, allocations: 1.72 MB / 0.5494 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.3815, allocations: 415.2 kB / 0.5498 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006071/0.3877, allocations: 3.606 MB / 0.5533 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003363/0.3911, allocations: 2.001 MB / 0.5552 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.3936, allocations: 1.187 MB / 0.5564 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00321/0.3969, allocations: 1.74 MB / 0.5581 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001071/0.398, allocations: 240 kB / 0.5583 GB, free: 5.102 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002382/0.4004, allocations: 0.8113 MB / 0.5591 GB, free: 4.289 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002423/0.4029, allocations: 1.566 MB / 0.5607 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003543/0.4064, allocations: 1.875 MB / 0.5625 GB, free: 0.832 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008939/0.4154, allocations: 6.099 MB / 0.5684 GB, free: 10.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4155, allocations: 0 / 0.5684 GB, free: 10.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4155, allocations: 0 / 0.5684 GB, free: 10.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002211/0.4157, allocations: 0 / 0.5684 GB, free: 10.71 MB / 430.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.009619/0.4253, allocations: 4.152 MB / 0.5725 GB, free: 6.484 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.4254, allocations: 8.031 kB / 0.5725 GB, free: 6.477 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001549/0.427, allocations: 0.7079 MB / 0.5732 GB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/0.4384, allocations: 3.106 MB / 0.5762 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005013/0.4435, allocations: 2.136 MB / 0.5783 GB, free: 468 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.4438, allocations: 192.8 kB / 0.5785 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/0.445, allocations: 243.8 kB / 0.5787 GB, free: 28 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01959/0.4646, allocations: 10.19 MB / 0.5887 GB, free: 5.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001533/0.4649, allocations: 19.81 kB / 0.5887 GB, free: 5.391 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009179/0.4658, allocations: 115.8 kB / 0.5888 GB, free: 5.277 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004565/0.4704, allocations: 2.463 MB / 0.5912 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01961/0.49, allocations: 9.357 MB / 0.6003 GB, free: 9.441 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05257/0.5426, allocations: 31.52 MB / 0.6311 GB, free: 9.098 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00657/0.5493, allocations: 3.354 MB / 0.6344 GB, free: 5.523 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/0.5511, allocations: 1.076 MB / 0.6355 GB, free: 4.445 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/0.5525, allocations: 1.31 MB / 0.6367 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/0.5526, allocations: 47.88 kB / 0.6368 GB, free: 2.859 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 6.282e-06/0.5526, allocations: 0 / 0.6368 GB, free: 2.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02181/0.5744, allocations: 9.173 MB / 0.6457 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.5745, allocations: 72.7 kB / 0.6458 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003746/0.5783, allocations: 2.612 MB / 0.6484 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002223/0.5785, allocations: 49.7 kB / 0.6484 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002227/0.5808, allocations: 2.776 MB / 0.6511 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009024/0.5817, allocations: 0.7364 MB / 0.6518 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001549/0.5833, allocations: 0.9691 MB / 0.6528 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5834, allocations: 305.1 kB / 0.6531 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002552/0.586, allocations: 1.544 MB / 0.6546 GB, free: 452 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005269/0.5913, allocations: 4.371 MB / 0.6588 GB, free: 10.66 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008847/0.6002, allocations: 6.559 MB / 0.6653 GB, free: 2.703 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/0.6004, allocations: 28 kB / 0.6653 GB, free: 2.676 MB / 0.5138 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01155/0.6119, allocations: 5.852 MB / 0.671 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.042e-05/0.6121, allocations: 48 kB / 0.671 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001425/0.6122, allocations: 96 kB / 0.6711 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003932/0.6126, allocations: 176.8 kB / 0.6713 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003559/0.6162, allocations: 1.064 MB / 0.6723 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.6181, allocations: 1.794 MB / 0.6741 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002756/0.6209, allocations: 203.9 kB / 0.6743 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006926/0.6216, allocations: 299.9 kB / 0.6746 GB, free: 9.012 MB / 0.5294 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.003182/0.6248, allocations: 1.986 MB / 0.6765 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004213/0.6252, allocations: 262.2 kB / 0.6768 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004034/0.6292, allocations: 2.533 MB / 0.6792 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.358e-05/0.6293, allocations: 20 kB / 0.6793 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.6293, allocations: 4.188 kB / 0.6793 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.6293, allocations: 7.969 kB / 0.6793 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/0.6432, allocations: 7.937 MB / 0.687 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/0.6432, allocations: 11.94 kB / 0.687 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009883/0.6442, allocations: 247.6 kB / 0.6873 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000175/0.6444, allocations: 56.83 kB / 0.6873 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.6445, allocations: 40.58 kB / 0.6874 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.646, allocations: 1.641 MB / 0.689 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/0.6461, allocations: 11.94 kB / 0.689 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005487/0.6515, allocations: 4.032 MB / 0.6929 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000699/0.6523, allocations: 307.3 kB / 0.6932 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003634/0.6527, allocations: 39.98 kB / 0.6932 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007886/0.6535, allocations: 51.95 kB / 0.6933 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.6537, allocations: 124.6 kB / 0.6934 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.6538, allocations: 63.98 kB / 0.6935 GB, free: 5.113 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002494/0.6563, allocations: 1.607 MB / 0.695 GB, free: 3.496 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6563, allocations: 0 / 0.695 GB, free: 3.496 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004069/0.6604, allocations: 0.7772 MB / 0.6958 GB, free: 2.719 MB / 0.545 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.006435/0.6669, allocations: 4.699 MB / 0.7004 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006608/0.6735, allocations: 3.887 MB / 0.7042 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/0.6736, allocations: 0 / 0.7042 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002059/0.6757, allocations: 1.226 MB / 0.7054 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.6781, allocations: 356.5 kB / 0.7057 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.314/0.9922, allocations: 33.34 MB / 0.7383 GB, free: 174 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004983/0.9972, allocations: 3.132 MB / 0.7413 GB, free: 172.8 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.003519/1.001, allocations: 1.713 MB / 0.743 GB, free: 172.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002081/1.003, allocations: 1.687 MB / 0.7447 GB, free: 170.8 MB / 0.5763 GB Notification: Performance of SimCode: time 1.312e-06/1.003, allocations: 4 kB / 0.7447 GB, free: 170.8 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08066/1.084, allocations: 45.67 MB / 0.7893 GB, free: 129.2 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.56/18.64, allocations: 11.47 kB / 0.7893 GB, free: 129.2 MB / 0.5763 GB (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.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1)