Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01406/0.01406, allocations: 165.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.739/1.739, allocations: 170.8 MB / 186.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001981/0.00198, allocations: 107.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4653/0.4653, allocations: 38.06 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004814, allocations: 12 kB / 363 MB, free: 5.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1029, allocations: 48.71 MB / 411.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4026/0.5055, allocations: 78.42 MB / 490.1 MB, free: 9.383 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.5058, allocations: 65.84 kB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05966/0.5655, allocations: 11.32 MB / 0.4897 GB, free: 15.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.5656, allocations: 0 / 0.4897 GB, free: 15.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.296e-05/0.5656, allocations: 12 kB / 0.4897 GB, free: 15.91 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.003619/0.5693, allocations: 0.9252 MB / 0.4906 GB, free: 14.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.725e-05/0.5694, allocations: 15.97 kB / 0.4907 GB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003271/0.5697, allocations: 99.5 kB / 0.4907 GB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003086/0.57, allocations: 79.09 kB / 0.4908 GB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.5712, allocations: 368.4 kB / 0.4912 GB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.477e-05/0.5713, allocations: 43.78 kB / 0.4912 GB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002596/0.5716, allocations: 65.95 kB / 0.4913 GB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/0.5744, allocations: 0.6285 MB / 0.4919 GB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/0.5746, allocations: 15.11 kB / 0.4919 GB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.5747, allocations: 21.62 kB / 0.4919 GB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-05/0.5748, allocations: 12 kB / 0.4919 GB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002987/0.5778, allocations: 0.5704 MB / 0.4925 GB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007869/0.5857, allocations: 2.047 MB / 0.4945 GB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/0.5885, allocations: 0.6642 MB / 0.4951 GB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.5887, allocations: 19.97 kB / 0.4952 GB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.5888, allocations: 45.23 kB / 0.4952 GB, free: 11.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=82): time 4.318e-06/0.5888, allocations: 0 / 0.4952 GB, free: 11.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=115): time 0.01397/0.6028, allocations: 4.536 MB / 0.4996 GB, free: 6.922 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.6029, allocations: 170.8 kB / 0.4998 GB, free: 6.719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005749/0.6035, allocations: 328.4 kB / 0.5001 GB, free: 6.449 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.6037, allocations: 44.45 kB / 0.5002 GB, free: 6.414 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.6039, allocations: 267.1 kB / 0.5004 GB, free: 6.211 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000468/0.6044, allocations: 409.2 kB / 0.5008 GB, free: 5.859 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.404e-05/0.6045, allocations: 29.25 kB / 0.5008 GB, free: 5.852 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.6047, allocations: 379.1 kB / 0.5012 GB, free: 5.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.606, allocations: 341 kB / 0.5015 GB, free: 5.258 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/0.6074, allocations: 0.524 MB / 0.502 GB, free: 4.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.6087, allocations: 399.6 kB / 0.5024 GB, free: 4.531 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/0.6087, allocations: 7.938 kB / 0.5024 GB, free: 4.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003243/0.612, allocations: 1.042 MB / 0.5034 GB, free: 3.734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.6121, allocations: 8 kB / 0.5034 GB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.6121, allocations: 4 kB / 0.5034 GB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.883e-05/0.6121, allocations: 12.44 kB / 0.5035 GB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/0.6143, allocations: 298.3 kB / 0.5037 GB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-05/0.6144, allocations: 15.94 kB / 0.5038 GB, free: 3.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.6154, allocations: 61.78 kB / 0.5038 GB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/0.6157, allocations: 45.61 kB / 0.5039 GB, free: 3.336 MB / 346.7 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 (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005888/0.6163, allocations: 235.5 kB / 0.5041 GB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/0.6167, allocations: 75.14 kB / 0.5042 GB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.6178, allocations: 316.6 kB / 0.5045 GB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.9e-05/0.6179, allocations: 12 kB / 0.5045 GB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/0.6179, allocations: 8.062 kB / 0.5045 GB, free: 2.844 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.967e-05/0.618, allocations: 7.969 kB / 0.5045 GB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006305/0.6243, allocations: 2.453 MB / 0.5069 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/0.6243, allocations: 0 / 0.5069 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002179/0.6265, allocations: 266.4 kB / 0.5071 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.557e-05/0.6266, allocations: 11.95 kB / 0.5071 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.6267, allocations: 26.38 kB / 0.5072 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-05/0.6268, allocations: 15.92 kB / 0.5072 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.6268, allocations: 4 kB / 0.5072 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004715/0.6315, allocations: 1.979 MB / 0.5091 GB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000531/0.6321, allocations: 212 kB / 0.5093 GB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.6323, allocations: 31.98 kB / 0.5094 GB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009178/0.6332, allocations: 51.97 kB / 0.5094 GB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/0.6334, allocations: 84.34 kB / 0.5095 GB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.88e-05/0.6336, allocations: 35.98 kB / 0.5095 GB, free: 14.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004655/0.634, allocations: 263.1 kB / 0.5098 GB, free: 13.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6341, allocations: 0 / 0.5098 GB, free: 13.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001215/0.6353, allocations: 200 kB / 0.51 GB, free: 13.65 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005737/0.641, allocations: 3.475 MB / 0.5134 GB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003032/0.6441, allocations: 0.894 MB / 0.5142 GB, free: 9.184 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.6442, allocations: 0 / 0.5142 GB, free: 9.184 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001635/0.6458, allocations: 0.5032 MB / 0.5147 GB, free: 8.676 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.6472, allocations: 109.2 kB / 0.5148 GB, free: 8.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/0.6623, allocations: 8.441 MB / 0.5231 GB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007684/0.6631, allocations: 0.9722 MB / 0.524 GB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008636/0.664, allocations: 101.6 kB / 0.5241 GB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006083/0.6646, allocations: 255.3 kB / 0.5244 GB, free: 14.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6646, allocations: 0 / 0.5244 GB, free: 14.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04859/0.7132, allocations: 12.57 MB / 0.5366 GB, free: 2.105 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003063/0.7136, allocations: 180.6 kB / 0.5368 GB, free: 1.855 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.254/3.968, allocations: 0 / 0.5368 GB, free: 1.855 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat