Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.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) 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(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 105.4 kB / 16.62 MB, free: 6.809 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.001663/0.001663, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.586/1.586, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.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: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 47.88 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1087, allocations: 46.62 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.005428/0.1141, allocations: 2.489 MB / 328.6 MB, free: 2.285 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.1158, allocations: 0.7688 MB / 329.4 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002836/0.1161, allocations: 4 kB / 329.4 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.1164, allocations: 35.7 kB / 329.4 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.1168, allocations: 87.31 kB / 329.5 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.1173, allocations: 107.9 kB / 329.6 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005759/0.1179, allocations: 466.2 kB / 330.1 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.1181, allocations: 84.88 kB / 330.2 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004116/0.1185, allocations: 187.4 kB / 330.3 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003321/0.1189, allocations: 207.3 kB / 330.5 MB, free: 360 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.64e-05/0.119, allocations: 36 kB / 330.6 MB, free: 324 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.445e-05/0.1191, allocations: 39.94 kB / 330.6 MB, free: 284 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.99e-05/0.1192, allocations: 83.8 kB / 330.7 MB, free: 200 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.1194, allocations: 183.2 kB / 330.9 MB, free: 16 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004825/0.1199, allocations: 407 kB / 331.3 MB, free: 15.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1199, allocations: 0 / 331.3 MB, free: 15.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1199, allocations: 0 / 331.3 MB, free: 15.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.1199, allocations: 0 / 331.3 MB, free: 15.62 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002085/0.122, allocations: 0.6783 MB / 332 MB, free: 14.89 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.072e-05/0.1221, allocations: 19.91 kB / 332 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.1223, allocations: 40.5 kB / 332 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005794/0.1229, allocations: 267.6 kB / 332.3 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004345/0.1233, allocations: 128.2 kB / 332.4 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.1235, allocations: 35.91 kB / 332.4 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.1246, allocations: 379.2 kB / 332.8 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.1246, allocations: 0 / 332.8 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.1247, allocations: 16 kB / 332.8 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.1247, allocations: 4 kB / 332.8 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.1259, allocations: 395.6 kB / 333.2 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.1276, allocations: 0.9735 MB / 334.2 MB, free: 12.53 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.1287, allocations: 395.6 kB / 334.6 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/0.1293, allocations: 226.8 kB / 334.8 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.1294, allocations: 7.984 kB / 334.8 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.1294, allocations: 38.5 kB / 334.8 MB, free: 11.83 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 2.044e-06/0.1294, allocations: 0 / 334.8 MB, free: 11.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=38): time 0.005225/0.1346, allocations: 2.328 MB / 337.2 MB, free: 9.238 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.1347, allocations: 106.8 kB / 337.3 MB, free: 9.109 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.135, allocations: 199.2 kB / 337.5 MB, free: 8.902 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.135, allocations: 37.7 kB / 337.5 MB, free: 8.859 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.1352, allocations: 148.6 kB / 337.6 MB, free: 8.711 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.1353, allocations: 137.9 kB / 337.8 MB, free: 8.574 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.1355, allocations: 74.11 kB / 337.9 MB, free: 8.496 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1357, allocations: 342.8 kB / 338.2 MB, free: 8.152 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003282/0.136, allocations: 108.8 kB / 338.3 MB, free: 8.047 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.1364, allocations: 161.5 kB / 338.5 MB, free: 7.867 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006383/0.137, allocations: 294.2 kB / 338.7 MB, free: 7.562 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.137, allocations: 4 kB / 338.7 MB, free: 7.559 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008023/0.1379, allocations: 375.9 kB / 339.1 MB, free: 7.188 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.1379, allocations: 4 kB / 339.1 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1379, allocations: 0 / 339.1 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.1379, allocations: 4 kB / 339.1 MB, free: 7.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006761/0.1386, allocations: 143.9 kB / 339.3 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.1386, allocations: 4 kB / 339.3 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.1389, allocations: 27.98 kB / 339.3 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.1389, allocations: 16 kB / 339.3 MB, free: 6.992 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001596/0.1391, allocations: 149.7 kB / 339.5 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1392, allocations: 31.56 kB / 339.5 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.698e-05/0.1393, allocations: 33.53 kB / 339.5 MB, free: 6.77 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1393, allocations: 4 kB / 339.5 MB, free: 6.766 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.1393, allocations: 3.984 kB / 339.5 MB, free: 6.762 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1393, allocations: 0 / 339.5 MB, free: 6.762 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/0.1418, allocations: 1.319 MB / 340.8 MB, free: 5.348 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.1418, allocations: 4 kB / 340.8 MB, free: 5.344 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008386/0.1427, allocations: 172 kB / 341 MB, free: 5.176 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.505e-06/0.1427, allocations: 4 kB / 341 MB, free: 5.172 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.1427, allocations: 11.94 kB / 341 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/0.1428, allocations: 7.938 kB / 341 MB, free: 5.152 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.1428, allocations: 4.469 kB / 341 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.1447, allocations: 0.9592 MB / 342 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.1449, allocations: 124.8 kB / 342.1 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.754e-05/0.145, allocations: 23.88 kB / 342.1 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.1454, allocations: 39.95 kB / 342.2 MB, free: 3.949 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.1456, allocations: 43.94 kB / 342.2 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/0.1456, allocations: 16 kB / 342.2 MB, free: 3.891 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.1458, allocations: 144.6 kB / 342.4 MB, free: 3.75 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1458, allocations: 0 / 342.4 MB, free: 3.75 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000485/0.1463, allocations: 84 kB / 342.5 MB, free: 3.668 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (elastoBacklash2.phi_rel,elastoBacklash2.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.0001524/0.1465, allocations: 119.1 kB / 342.6 MB, free: 3.543 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.1475, allocations: 383.7 kB / 343 MB, free: 3.168 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1475, allocations: 0 / 343 MB, free: 3.168 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006502/0.1482, allocations: 252 kB / 343.2 MB, free: 2.922 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008494/0.1491, allocations: 65.33 kB / 343.3 MB, free: 2.859 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/0.1541, allocations: 1.534 MB / 344.8 MB, free: 1.273 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.1545, allocations: 0.772 MB / 345.6 MB, free: 484 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000233/0.1548, allocations: 42.95 kB / 345.6 MB, free: 440 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.1549, allocations: 35.42 kB / 345.7 MB, free: 404 kB / 286.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1549, allocations: 0 / 345.7 MB, free: 404 kB / 286.1 MB Notification: Performance of Templates: time 0.008668/0.1636, allocations: 4.088 MB / 349.7 MB, free: 12.31 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1)