Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.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.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001333, allocations: 214.4 kB / 18.59 MB, free: 4.531 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 / 246.8 MB, free: 10.52 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.2747/0.2747, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002475/0.002475, allocations: 83.2 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1218, allocations: 62.46 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005838/0.1277, allocations: 4.157 MB / 484.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.1301, allocations: 1.184 MB / 485.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004567/0.1306, allocations: 15.94 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.131, allocations: 102.9 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006148/0.1316, allocations: 206.1 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006203/0.1322, allocations: 223.6 kB / 486.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008956/0.1331, allocations: 0.794 MB / 486.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000382/0.1335, allocations: 235.5 kB / 487.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004136/0.1339, allocations: 314.9 kB / 487.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004086/0.1344, allocations: 346.3 kB / 487.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.274e-05/0.1345, allocations: 63.94 kB / 487.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.1347, allocations: 87.98 kB / 487.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.1348, allocations: 147.4 kB / 488 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003464/0.1352, allocations: 358.2 kB / 488.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007775/0.136, allocations: 0.7709 MB / 489.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.136, allocations: 7.984 kB / 489.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.136, allocations: 0 / 489.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.136, allocations: 0 / 489.2 MB, free: 12.12 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.00189/0.1379, allocations: 1.009 MB / 490.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1379, allocations: 8.031 kB / 490.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.1381, allocations: 106.7 kB / 490.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006495/0.1387, allocations: 135.9 kB / 490.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005377/0.1393, allocations: 421.6 kB / 490.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.314e-05/0.1393, allocations: 41.69 kB / 490.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.1394, allocations: 76.02 kB / 490.9 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.1406, allocations: 0.6154 MB / 491.6 MB, free: 9.598 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.1406, allocations: 11.84 kB / 491.6 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.1407, allocations: 28 kB / 491.6 MB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.1407, allocations: 16 kB / 491.6 MB, free: 9.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.1418, allocations: 0.5144 MB / 492.1 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003222/0.145, allocations: 2.171 MB / 494.3 MB, free: 6.746 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.1463, allocations: 0.6915 MB / 495 MB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006044/0.147, allocations: 338.7 kB / 495.3 MB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/0.1471, allocations: 97.83 kB / 495.4 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.1472, allocations: 50.94 kB / 495.5 MB, free: 5.465 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 2.735e-06/0.1472, allocations: 0 / 495.5 MB, free: 5.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.008112/0.1553, allocations: 4.484 MB / 500 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.1555, allocations: 227.7 kB / 0.4885 GB, free: 368 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.1559, allocations: 385.9 kB / 0.4888 GB, free: 15.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.704e-05/0.156, allocations: 45.7 kB / 0.4889 GB, free: 15.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.1562, allocations: 281 kB / 0.4891 GB, free: 15.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003315/0.1565, allocations: 410 kB / 0.4895 GB, free: 15.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/0.1568, allocations: 171 kB / 0.4897 GB, free: 15.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.157, allocations: 382.8 kB / 0.4901 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006475/0.1576, allocations: 314.4 kB / 0.4904 GB, free: 14.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007946/0.1584, allocations: 0.5043 MB / 0.4908 GB, free: 13.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.1599, allocations: 0.8575 MB / 0.4917 GB, free: 12.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.16, allocations: 4 kB / 0.4917 GB, free: 12.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001867/0.1618, allocations: 1.003 MB / 0.4927 GB, free: 11.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.1619, allocations: 8 kB / 0.4927 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.1619, allocations: 4 kB / 0.4927 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.1619, allocations: 12 kB / 0.4927 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009926/0.1629, allocations: 280 kB / 0.493 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/0.1629, allocations: 12.06 kB / 0.493 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.1634, allocations: 51.91 kB / 0.493 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/0.1635, allocations: 40 kB / 0.4931 GB, free: 11.46 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003186/0.1638, allocations: 229.7 kB / 0.4933 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.164, allocations: 83.08 kB / 0.4934 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004525/0.1645, allocations: 219 kB / 0.4936 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/0.1645, allocations: 19.98 kB / 0.4936 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.1645, allocations: 0 / 0.4936 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.1645, allocations: 7.984 kB / 0.4936 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003739/0.1683, allocations: 2.355 MB / 0.4959 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.1683, allocations: 4 kB / 0.4959 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.1693, allocations: 251.6 kB / 0.4961 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.1693, allocations: 12.22 kB / 0.4961 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/0.1694, allocations: 32 kB / 0.4962 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/0.1694, allocations: 11.98 kB / 0.4962 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1694, allocations: 4 kB / 0.4962 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002569/0.172, allocations: 1.869 MB / 0.498 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/0.1723, allocations: 208 kB / 0.4982 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.05e-05/0.1724, allocations: 28 kB / 0.4982 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/0.173, allocations: 39.97 kB / 0.4983 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.1731, allocations: 84.33 kB / 0.4984 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.088e-05/0.1732, allocations: 35.98 kB / 0.4984 GB, free: 5.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003061/0.1735, allocations: 271.1 kB / 0.4987 GB, free: 5.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1735, allocations: 4 kB / 0.4987 GB, free: 5.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000869/0.1744, allocations: 196 kB / 0.4988 GB, free: 5.355 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003008/0.1774, allocations: 2.453 MB / 0.5012 GB, free: 2.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.1794, allocations: 0.882 MB / 0.5021 GB, free: 1.961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1794, allocations: 4 kB / 0.5021 GB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008432/0.1802, allocations: 482.7 kB / 0.5026 GB, free: 1.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.1816, allocations: 150.2 kB / 0.5027 GB, free: 1.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2093/0.3909, allocations: 7.42 MB / 0.51 GB, free: 38.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005544/0.3915, allocations: 0.9509 MB / 0.5109 GB, free: 37.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005274/0.3921, allocations: 104 kB / 0.511 GB, free: 37.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003825/0.3925, allocations: 275.8 kB / 0.5112 GB, free: 37.39 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3925, allocations: 1.641 kB / 0.5112 GB, free: 37.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04611/0.4386, allocations: 13.95 MB / 0.5249 GB, free: 33.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.615, allocations: 10.36 kB / 0.5249 GB, free: 33.33 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents_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_Translational_AllComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe 2>&1)