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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001721/0.001721, allocations: 170.4 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.372/1.372, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001539/0.001539, allocations: 95.53 kB / 223.2 MB, free: 4.055 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.2008/0.2008, allocations: 37.99 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.673e-05, allocations: 4 kB / 357 MB, free: 32.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 48.71 MB / 405.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4294/0.5337, allocations: 78.32 MB / 484 MB, free: 18.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.534, allocations: 68.22 kB / 484.1 MB, free: 18.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02949/0.5635, allocations: 11.33 MB / 495.4 MB, free: 17.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5636, allocations: 0 / 495.4 MB, free: 17.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.815e-05/0.5636, allocations: 11.53 kB / 495.4 MB, free: 17.37 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.001328/0.5649, allocations: 0.8477 MB / 496.3 MB, free: 16.83 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.565, allocations: 8.969 kB / 496.3 MB, free: 16.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.5651, allocations: 79.69 kB / 496.3 MB, free: 16.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.5656, allocations: 374.9 kB / 496.7 MB, free: 16.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.5656, allocations: 43.69 kB / 496.8 MB, free: 16.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.5657, allocations: 66.97 kB / 496.8 MB, free: 16.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008807/0.5666, allocations: 0.5577 MB / 497.4 MB, free: 16.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.5667, allocations: 15.69 kB / 497.4 MB, free: 16.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/0.5667, allocations: 28.67 kB / 497.4 MB, free: 16.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.5668, allocations: 19.36 kB / 497.4 MB, free: 16.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000655/0.5674, allocations: 448 kB / 497.9 MB, free: 16.4 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/0.5701, allocations: 2.056 MB / 499.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008667/0.571, allocations: 0.5943 MB / 0.4888 GB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004048/0.5714, allocations: 285.9 kB / 0.4891 GB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.951e-05/0.5715, allocations: 15.84 kB / 0.4891 GB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.5715, allocations: 49.08 kB / 0.4891 GB, free: 15.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=82): time 2.965e-06/0.5715, allocations: 0 / 0.4891 GB, free: 15.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.005466/0.577, allocations: 4.013 MB / 0.4931 GB, free: 12.9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.5771, allocations: 170.2 kB / 0.4932 GB, free: 12.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.5774, allocations: 338.1 kB / 0.4935 GB, free: 12.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/0.5775, allocations: 43.92 kB / 0.4936 GB, free: 12.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.5776, allocations: 267.1 kB / 0.4938 GB, free: 12.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.5778, allocations: 413 kB / 0.4942 GB, free: 12.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.5779, allocations: 22.81 kB / 0.4942 GB, free: 12.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.543e-05/0.578, allocations: 380.1 kB / 0.4946 GB, free: 11.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.5783, allocations: 273.6 kB / 0.4949 GB, free: 11.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004559/0.5788, allocations: 470 kB / 0.4953 GB, free: 11.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.5793, allocations: 343.2 kB / 0.4956 GB, free: 11.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5793, allocations: 3.906 kB / 0.4957 GB, free: 11.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001194/0.5805, allocations: 0.9287 MB / 0.4966 GB, free: 11.22 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.5805, allocations: 8.156 kB / 0.4966 GB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.5805, allocations: 7.906 kB / 0.4966 GB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.5806, allocations: 11.47 kB / 0.4966 GB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009359/0.5815, allocations: 289.2 kB / 0.4969 GB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.5815, allocations: 19.42 kB / 0.4969 GB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.582, allocations: 59.62 kB / 0.4969 GB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.432e-05/0.5821, allocations: 41.94 kB / 0.497 GB, free: 11.14 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.0001554/0.5822, allocations: 169.8 kB / 0.4971 GB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.5824, allocations: 73.91 kB / 0.4972 GB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004861/0.5829, allocations: 278.2 kB / 0.4975 GB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.5829, allocations: 15.53 kB / 0.4975 GB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/0.5829, allocations: 0 / 0.4975 GB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.583, allocations: 7.969 kB / 0.4975 GB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/0.5857, allocations: 2.324 MB / 0.4998 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.5857, allocations: 3.875 kB / 0.4998 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000955/0.5866, allocations: 264.2 kB / 0.5 GB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.556e-05/0.5867, allocations: 11.77 kB / 0.5 GB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-05/0.5867, allocations: 37.42 kB / 0.5001 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.5868, allocations: 3.844 kB / 0.5001 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.5868, allocations: 7.891 kB / 0.5001 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.5885, allocations: 1.795 MB / 0.5018 GB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/0.5888, allocations: 210.1 kB / 0.502 GB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.892e-05/0.5888, allocations: 21.81 kB / 0.5021 GB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000527/0.5894, allocations: 61.75 kB / 0.5021 GB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.5896, allocations: 81.72 kB / 0.5022 GB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.347e-05/0.5896, allocations: 40.92 kB / 0.5022 GB, free: 8.543 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002824/0.5899, allocations: 255.4 kB / 0.5025 GB, free: 8.438 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5899, allocations: 0 / 0.5025 GB, free: 8.438 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008474/0.5908, allocations: 200.6 kB / 0.5027 GB, free: 8.434 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.0002294/0.591, allocations: 147 kB / 0.5028 GB, free: 8.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.5922, allocations: 0.765 MB / 0.5036 GB, free: 8.246 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5922, allocations: 0.875 kB / 0.5036 GB, free: 8.246 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005426/0.5928, allocations: 456.4 kB / 0.504 GB, free: 8.188 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007415/0.5935, allocations: 100.7 kB / 0.5041 GB, free: 8.168 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.5962, allocations: 2.004 MB / 0.506 GB, free: 6.855 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.5965, allocations: 0.9626 MB / 0.507 GB, free: 6.035 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004297/0.597, allocations: 95.98 kB / 0.5071 GB, free: 5.992 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.5971, allocations: 59.33 kB / 0.5071 GB, free: 5.98 MB / 330.7 MB Notification: Performance of SimCode: time 1.343e-06/0.5971, allocations: 4 kB / 0.5071 GB, free: 5.977 MB / 330.7 MB Notification: Performance of Templates: time 0.01069/0.6078, allocations: 6.491 MB / 0.5135 GB, free: 2.855 MB / 330.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)