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.001797/0.001797, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002197/0.002197, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2961/0.2961, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.002177/0.002177, allocations: 82.05 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1222, allocations: 62.45 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006279/0.1285, allocations: 4.16 MB / 484.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002624/0.1311, allocations: 1.184 MB / 485.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000494/0.1317, allocations: 11.94 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.1321, allocations: 106.9 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005978/0.1327, allocations: 198.1 kB / 485.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006472/0.1333, allocations: 235.5 kB / 486.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00101/0.1343, allocations: 0.7901 MB / 486.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004191/0.1348, allocations: 235.5 kB / 487.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004811/0.1353, allocations: 314.9 kB / 487.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004109/0.1357, allocations: 342.4 kB / 487.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.514e-05/0.1358, allocations: 56 kB / 487.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.136, allocations: 91.92 kB / 487.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.1361, allocations: 151.4 kB / 488 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003711/0.1365, allocations: 358.2 kB / 488.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008592/0.1374, allocations: 0.7709 MB / 489.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1374, allocations: 0 / 489.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.1374, allocations: 3.938 kB / 489.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.1374, allocations: 3.938 kB / 489.2 MB, free: 12.14 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.001989/0.1394, allocations: 1.021 MB / 490.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1395, allocations: 8.031 kB / 490.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/0.1396, allocations: 102.7 kB / 490.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006609/0.1403, allocations: 139.9 kB / 490.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005473/0.1408, allocations: 413.7 kB / 490.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.743e-05/0.1409, allocations: 45.69 kB / 490.9 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.141, allocations: 72.03 kB / 491 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.1421, allocations: 0.6154 MB / 491.6 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.1422, allocations: 11.91 kB / 491.6 MB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.055e-05/0.1422, allocations: 24 kB / 491.6 MB, free: 9.582 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.1423, allocations: 16 kB / 491.6 MB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.1434, allocations: 0.5073 MB / 492.1 MB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003257/0.1466, allocations: 2.186 MB / 494.3 MB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.1481, allocations: 0.6801 MB / 495 MB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006362/0.1487, allocations: 343.1 kB / 495.3 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.1489, allocations: 89.55 kB / 495.4 MB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.1489, allocations: 50.92 kB / 495.5 MB, free: 5.488 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 2.935e-06/0.149, allocations: 4 kB / 495.5 MB, free: 5.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.008611/0.1576, allocations: 4.491 MB / 500 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.1577, allocations: 222.2 kB / 0.4885 GB, free: 388 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004573/0.1582, allocations: 390 kB / 0.4888 GB, free: 15.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.1583, allocations: 41.7 kB / 0.4889 GB, free: 15.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.1585, allocations: 281 kB / 0.4891 GB, free: 15.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.1589, allocations: 413.9 kB / 0.4895 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.1591, allocations: 175 kB / 0.4897 GB, free: 15.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.1594, allocations: 386.8 kB / 0.4901 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006293/0.16, allocations: 310.4 kB / 0.4904 GB, free: 14.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008105/0.1608, allocations: 0.4965 MB / 0.4908 GB, free: 13.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.1623, allocations: 0.8636 MB / 0.4917 GB, free: 12.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.1623, allocations: 0 / 0.4917 GB, free: 12.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001864/0.1642, allocations: 1.006 MB / 0.4927 GB, free: 11.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1642, allocations: 4 kB / 0.4927 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.1642, allocations: 8 kB / 0.4927 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.1643, allocations: 8.438 kB / 0.4927 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.1653, allocations: 283.7 kB / 0.493 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/0.1653, allocations: 8 kB / 0.493 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004386/0.1658, allocations: 51.91 kB / 0.493 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/0.1658, allocations: 40 kB / 0.4931 GB, free: 11.48 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.000345/0.1662, allocations: 229.6 kB / 0.4933 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.1664, allocations: 79.08 kB / 0.4934 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004953/0.1669, allocations: 223 kB / 0.4936 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.167, allocations: 12 kB / 0.4936 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/0.167, allocations: 4 kB / 0.4936 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.167, allocations: 11.91 kB / 0.4936 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004146/0.1712, allocations: 2.343 MB / 0.4959 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.1712, allocations: 4.062 kB / 0.4959 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.1723, allocations: 255.9 kB / 0.4961 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.697e-05/0.1723, allocations: 8 kB / 0.4961 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/0.1724, allocations: 28.27 kB / 0.4962 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-05/0.1724, allocations: 11.94 kB / 0.4962 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.1724, allocations: 4 kB / 0.4962 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/0.1752, allocations: 1.881 MB / 0.498 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/0.1756, allocations: 212 kB / 0.4982 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.1757, allocations: 24 kB / 0.4982 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006273/0.1764, allocations: 39.91 kB / 0.4983 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.1765, allocations: 84.39 kB / 0.4984 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.475e-05/0.1766, allocations: 32 kB / 0.4984 GB, free: 5.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003521/0.177, allocations: 275.1 kB / 0.4986 GB, free: 5.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.177, allocations: 3.938 kB / 0.4987 GB, free: 5.566 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009446/0.1779, allocations: 192 kB / 0.4988 GB, free: 5.379 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.003177/0.1811, allocations: 2.461 MB / 0.5012 GB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.1832, allocations: 0.8782 MB / 0.5021 GB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.1832, allocations: 4 kB / 0.5021 GB, free: 1.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008924/0.1841, allocations: 486.6 kB / 0.5026 GB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.1855, allocations: 151.1 kB / 0.5027 GB, free: 1.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1969/0.3824, allocations: 7.417 MB / 0.51 GB, free: 38.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.3829, allocations: 0.9541 MB / 0.5109 GB, free: 37.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005097/0.3835, allocations: 105.8 kB / 0.511 GB, free: 37.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/0.3838, allocations: 270.8 kB / 0.5112 GB, free: 37.35 MB / 382.1 MB Notification: Performance of SimCode: time 1.193e-06/0.3838, allocations: 0 / 0.5112 GB, free: 37.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04315/0.427, allocations: 13.95 MB / 0.5249 GB, free: 33.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.198/8.625, allocations: 17.98 kB / 0.5249 GB, free: 33.29 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe 2>&1)