Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00702/0.00702, allocations: 103.4 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 193.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.1 MB / 222.5 MB, free: 4.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.386/0.386, allocations: 39.94 MB / 309.8 MB, free: 9.648 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 67.91 kB / 435.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4117, allocations: 56.88 MB / 492.6 MB, free: 19.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004824/0.4166, allocations: 4.097 MB / 496.7 MB, free: 16.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.4189, allocations: 1.119 MB / 497.9 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003425/0.4193, allocations: 13.41 kB / 497.9 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.4196, allocations: 101 kB / 498 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.42, allocations: 198.7 kB / 498.2 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005805/0.4206, allocations: 192.4 kB / 498.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008608/0.4215, allocations: 0.781 MB / 499.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004276/0.4219, allocations: 249.8 kB / 499.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004334/0.4224, allocations: 310.6 kB / 499.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004318/0.4228, allocations: 336.6 kB / 0.4883 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.4229, allocations: 58.03 kB / 0.4883 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.4231, allocations: 89.3 kB / 0.4884 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.4233, allocations: 147.3 kB / 0.4886 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.4236, allocations: 346.1 kB / 0.4889 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008693/0.4245, allocations: 0.7669 MB / 0.4896 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4245, allocations: 0 / 0.4896 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4245, allocations: 5.562 kB / 0.4896 GB, free: 13.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.4245, allocations: 0 / 0.4896 GB, free: 13.87 MB / 382.1 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.001883/0.4264, allocations: 0.9925 MB / 0.4906 GB, free: 13.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.4265, allocations: 17.58 kB / 0.4906 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.4266, allocations: 79.16 kB / 0.4907 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.4272, allocations: 398.1 kB / 0.4911 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/0.4272, allocations: 40.66 kB / 0.4911 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.4274, allocations: 67.89 kB / 0.4912 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.4288, allocations: 0.6253 MB / 0.4918 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.648e-05/0.4289, allocations: 16.94 kB / 0.4918 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/0.429, allocations: 25.81 kB / 0.4918 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.429, allocations: 13.66 kB / 0.4919 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.4304, allocations: 0.5308 MB / 0.4924 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/0.4336, allocations: 2.145 MB / 0.4945 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.4349, allocations: 0.7006 MB / 0.4952 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006089/0.4355, allocations: 341.8 kB / 0.4955 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.4357, allocations: 97.91 kB / 0.4956 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.4357, allocations: 47.66 kB / 0.4956 GB, free: 10.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.224e-06/0.4357, allocations: 0 / 0.4956 GB, free: 10.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.008284/0.444, allocations: 4.51 MB / 0.5 GB, free: 6.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/0.4441, allocations: 225.4 kB / 0.5002 GB, free: 6.441 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.4445, allocations: 359.6 kB / 0.5006 GB, free: 6.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.4446, allocations: 42.23 kB / 0.5006 GB, free: 6.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.4447, allocations: 272 kB / 0.5009 GB, free: 5.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.445, allocations: 408.1 kB / 0.5013 GB, free: 5.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.4452, allocations: 180.3 kB / 0.5014 GB, free: 5.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4453, allocations: 387.4 kB / 0.5018 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006309/0.446, allocations: 313.4 kB / 0.5021 GB, free: 4.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007679/0.4467, allocations: 0.5077 MB / 0.5026 GB, free: 4.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.4482, allocations: 0.86 MB / 0.5034 GB, free: 4.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4482, allocations: 2.781 kB / 0.5034 GB, free: 4.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001852/0.4501, allocations: 1.015 MB / 0.5044 GB, free: 3.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.4501, allocations: 10.66 kB / 0.5045 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.4501, allocations: 6.031 kB / 0.5045 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.692e-05/0.4502, allocations: 10.28 kB / 0.5045 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.4513, allocations: 282.8 kB / 0.5047 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.931e-05/0.4514, allocations: 13.84 kB / 0.5047 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/0.4519, allocations: 49.91 kB / 0.5048 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.452, allocations: 43.03 kB / 0.5048 GB, free: 3.43 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 (144): * Single equations (assignments): 144 * 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.0003966/0.4524, allocations: 235.7 kB / 0.5051 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/0.4528, allocations: 76.5 kB / 0.5051 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005135/0.4533, allocations: 220 kB / 0.5053 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/0.4533, allocations: 13.22 kB / 0.5054 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.792e-05/0.4534, allocations: 2.875 kB / 0.5054 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.303e-05/0.4534, allocations: 9.344 kB / 0.5054 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004093/0.4575, allocations: 2.325 MB / 0.5076 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.4575, allocations: 2.25 kB / 0.5076 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.4585, allocations: 251.4 kB / 0.5079 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/0.4586, allocations: 6.781 kB / 0.5079 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.63e-05/0.4586, allocations: 35.42 kB / 0.5079 GB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.411e-05/0.4587, allocations: 11.41 kB / 0.5079 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.4587, allocations: 4 kB / 0.5079 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/0.4611, allocations: 1.9 MB / 0.5098 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003313/0.4615, allocations: 194.6 kB / 0.51 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.4616, allocations: 29.56 kB / 0.51 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006239/0.4622, allocations: 48.59 kB / 0.5101 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/0.4625, allocations: 85.64 kB / 0.5101 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.674e-05/0.4626, allocations: 36.58 kB / 0.5102 GB, free: 15.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004126/0.463, allocations: 249.7 kB / 0.5104 GB, free: 15.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.463, allocations: 0 / 0.5104 GB, free: 15.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001202/0.4642, allocations: 197 kB / 0.5106 GB, free: 15.52 MB / 398.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 (115): * Single equations (assignments): 115 * 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.0002738/0.4645, allocations: 140.9 kB / 0.5107 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00198/0.4665, allocations: 0.8473 MB / 0.5116 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.4665, allocations: 9.156 kB / 0.5116 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.4675, allocations: 490.5 kB / 0.512 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.4688, allocations: 138.4 kB / 0.5122 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.4728, allocations: 2.192 MB / 0.5143 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/0.4735, allocations: 0.9498 MB / 0.5152 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004361/0.4739, allocations: 93.77 kB / 0.5153 GB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.4741, allocations: 67.42 kB / 0.5154 GB, free: 12.01 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4742, allocations: 0 / 0.5154 GB, free: 12.01 MB / 398.1 MB Notification: Performance of Templates: time 0.01432/0.4885, allocations: 7.58 MB / 0.5228 GB, free: 4.445 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.pipe 2>&1)