Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003872/0.003872, allocations: 183.1 kB / 7.452 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.181/1.181, allocations: 170.6 MB / 178.4 MB, free: 15.45 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001656/0.001656, allocations: 116.4 kB / 217.7 MB, free: 8.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1556/0.1556, allocations: 37.97 MB / 294.8 MB, free: 9.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.003e-06/7.314e-06, allocations: 1.062 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09327/0.09329, allocations: 48.71 MB / 398.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3276/0.4209, allocations: 77.59 MB / 475.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.4212, allocations: 61.5 kB / 475.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03109/0.4523, allocations: 10.97 MB / 486.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.714e-05/0.4524, allocations: 11.75 kB / 486.8 MB, free: 12.54 MB / 330.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.001954/0.4543, allocations: 0.8641 MB / 487.7 MB, free: 11.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.4544, allocations: 7.781 kB / 487.7 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002861/0.4547, allocations: 81.44 kB / 487.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007352/0.4554, allocations: 374.3 kB / 488.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.4555, allocations: 19.03 kB / 488.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.4556, allocations: 42.38 kB / 488.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008479/0.4565, allocations: 419.7 kB / 488.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007893/0.4573, allocations: 498.2 kB / 489.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.278e-05/0.4573, allocations: 12.42 kB / 489.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.896e-05/0.4574, allocations: 4 kB / 489.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.4574, allocations: 15.47 kB / 489.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003262/0.4607, allocations: 1.964 MB / 491.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/0.4614, allocations: 440.3 kB / 491.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.4617, allocations: 269.9 kB / 491.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.012e-05/0.4618, allocations: 11.67 kB / 491.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.4618, allocations: 51.58 kB / 491.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=82): time 2.345e-06/0.4618, allocations: 0 / 491.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.005171/0.467, allocations: 3.565 MB / 495.4 MB, free: 8.422 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.4671, allocations: 168.1 kB / 495.6 MB, free: 8.234 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.4674, allocations: 306.2 kB / 495.9 MB, free: 8.133 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.427e-05/0.4675, allocations: 26.83 kB / 495.9 MB, free: 8.102 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.4676, allocations: 216 kB / 496.1 MB, free: 7.949 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.4679, allocations: 397.7 kB / 496.5 MB, free: 7.684 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.4679, allocations: 3.875 kB / 496.5 MB, free: 7.684 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.468, allocations: 380.9 kB / 496.9 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/0.4684, allocations: 253.9 kB / 497.1 MB, free: 7.363 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/0.4689, allocations: 441.6 kB / 497.6 MB, free: 7.172 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005006/0.4694, allocations: 316.5 kB / 497.9 MB, free: 7.152 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.4694, allocations: 3.844 kB / 497.9 MB, free: 7.152 MB / 330.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001226/0.4707, allocations: 0.8285 MB / 498.7 MB, free: 7.035 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4707, allocations: 7.844 kB / 498.7 MB, free: 7.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.4707, allocations: 10.02 kB / 498.7 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/0.4707, allocations: 11.62 kB / 498.7 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.4719, allocations: 305.2 kB / 499 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.212e-05/0.4719, allocations: 12.91 kB / 499 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005152/0.4725, allocations: 43.23 kB / 499.1 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.149e-05/0.4726, allocations: 43.66 kB / 499.1 MB, free: 7.004 MB / 330.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 () * 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.0001446/0.4727, allocations: 124.6 kB / 499.3 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.4729, allocations: 75.52 kB / 499.3 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004722/0.4734, allocations: 265.2 kB / 499.6 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.4734, allocations: 13.52 kB / 499.6 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/0.4734, allocations: 3.875 kB / 499.6 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.4734, allocations: 5.156 kB / 499.6 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003095/0.4765, allocations: 2.161 MB / 0.49 GB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.4766, allocations: 3.875 kB / 0.49 GB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.4778, allocations: 270.7 kB / 0.4903 GB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.25e-05/0.4778, allocations: 8.531 kB / 0.4903 GB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.422e-05/0.4779, allocations: 13.89 kB / 0.4903 GB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.236e-05/0.4779, allocations: 12.59 kB / 0.4903 GB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.4779, allocations: 3.969 kB / 0.4903 GB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001774/0.4797, allocations: 1.739 MB / 0.492 GB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.48, allocations: 202.4 kB / 0.4922 GB, free: 5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.4801, allocations: 12.44 kB / 0.4922 GB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000625/0.4807, allocations: 42.83 kB / 0.4922 GB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.4809, allocations: 74.5 kB / 0.4923 GB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.895e-05/0.481, allocations: 38.22 kB / 0.4924 GB, free: 4.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002475/0.4813, allocations: 234.8 kB / 0.4926 GB, free: 4.898 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008235/0.4821, allocations: 167.7 kB / 0.4927 GB, free: 4.891 MB / 330.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 () * 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.0001991/0.4823, allocations: 124.3 kB / 0.4929 GB, free: 4.785 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.4834, allocations: 0.7261 MB / 0.4936 GB, free: 4.738 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4835, allocations: 0 / 0.4936 GB, free: 4.738 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005659/0.484, allocations: 448.1 kB / 0.494 GB, free: 4.707 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008112/0.4848, allocations: 83.47 kB / 0.4941 GB, free: 4.703 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.4884, allocations: 1.899 MB / 0.4959 GB, free: 3.633 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/0.4896, allocations: 1.041 MB / 0.4969 GB, free: 18.91 MB / 346.7 MB Notification: Performance of SimCode: time 8.11e-07/0.4896, allocations: 0 / 0.4969 GB, free: 18.91 MB / 346.7 MB Notification: Performance of Templates: time 0.01512/0.5047, allocations: 7.763 MB / 0.5045 GB, free: 15.68 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe 2>&1)