Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_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.0009586/0.0009588, allocations: 92.53 kB / 16.95 MB, free: 6.402 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.001054/0.001054, allocations: 182 kB / 17.83 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.519/1.519, allocations: 205.4 MB / 224 MB, free: 13.07 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.0004923/0.0004923, allocations: 8 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1042, allocations: 47.59 MB / 328.3 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002688/0.1069, allocations: 2.043 MB / 330.4 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1084, allocations: 0.7379 MB / 331.1 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.1086, allocations: 7.938 kB / 331.1 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.1087, allocations: 27.77 kB / 331.2 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.1089, allocations: 91.23 kB / 331.3 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.1093, allocations: 99.81 kB / 331.4 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004277/0.1097, allocations: 414.3 kB / 331.8 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.1099, allocations: 65.08 kB / 331.8 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.1101, allocations: 167.4 kB / 332 MB, free: 436 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.1103, allocations: 179.4 kB / 332.2 MB, free: 256 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/0.1104, allocations: 20 kB / 332.2 MB, free: 236 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.39e-05/0.1104, allocations: 20 kB / 332.2 MB, free: 216 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.1105, allocations: 71.73 kB / 332.3 MB, free: 144 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.584e-05/0.1106, allocations: 77.58 kB / 332.3 MB, free: 60 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.1109, allocations: 291.5 kB / 332.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1109, allocations: 0 / 332.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1109, allocations: 0 / 332.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.1109, allocations: 0 / 332.6 MB, free: 15.77 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.001358/0.1123, allocations: 0.6783 MB / 333.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1124, allocations: 8.031 kB / 333.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.1124, allocations: 35.62 kB / 333.3 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.1128, allocations: 266.4 kB / 333.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003369/0.1131, allocations: 135.9 kB / 333.7 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.614e-05/0.1132, allocations: 27.91 kB / 333.8 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008648/0.1141, allocations: 415.9 kB / 334.2 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.1141, allocations: 0 / 334.2 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.1141, allocations: 12 kB / 334.2 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.1141, allocations: 4 kB / 334.2 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.1153, allocations: 464.6 kB / 334.6 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.1166, allocations: 0.9742 MB / 335.6 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.1176, allocations: 455.5 kB / 336.1 MB, free: 12.13 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006014/0.1183, allocations: 250.4 kB / 336.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1183, allocations: 8 kB / 336.3 MB, free: 11.87 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.1183, allocations: 34.56 kB / 336.3 MB, free: 11.83 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.1183, allocations: 0 / 336.3 MB, free: 11.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=38): time 0.004815/0.1231, allocations: 2.52 MB / 338.9 MB, free: 9.043 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/0.1232, allocations: 110.8 kB / 339 MB, free: 8.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.1235, allocations: 207.2 kB / 339.2 MB, free: 8.695 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.1235, allocations: 33.7 kB / 339.2 MB, free: 8.656 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/0.1236, allocations: 144.6 kB / 339.4 MB, free: 8.512 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.1237, allocations: 138 kB / 339.5 MB, free: 8.375 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.1238, allocations: 8 kB / 339.5 MB, free: 8.367 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1239, allocations: 338.8 kB / 339.8 MB, free: 8.027 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.1242, allocations: 112.8 kB / 339.9 MB, free: 7.918 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.1245, allocations: 177.4 kB / 340.1 MB, free: 7.723 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.1248, allocations: 124 kB / 340.2 MB, free: 7.602 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1248, allocations: 0 / 340.2 MB, free: 7.602 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007457/0.1256, allocations: 373.1 kB / 340.6 MB, free: 7.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1256, allocations: 4 kB / 340.6 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1256, allocations: 3.953 kB / 340.6 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1256, allocations: 4 kB / 340.6 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006781/0.1263, allocations: 171.9 kB / 340.8 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1263, allocations: 4.938 kB / 340.8 MB, free: 7.047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.1266, allocations: 35.97 kB / 340.8 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.1266, allocations: 11.94 kB / 340.8 MB, free: 7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.1268, allocations: 149.7 kB / 341 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.809e-05/0.1268, allocations: 31.62 kB / 341 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.833e-05/0.1269, allocations: 29.52 kB / 341 MB, free: 6.781 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.1269, allocations: 7.953 kB / 341 MB, free: 6.773 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1269, allocations: 4 kB / 341 MB, free: 6.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.127, allocations: 4 kB / 341 MB, free: 6.766 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/0.1293, allocations: 1.401 MB / 342.4 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1293, allocations: 0 / 342.4 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008038/0.1301, allocations: 207.9 kB / 342.7 MB, free: 5.066 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.1301, allocations: 4 kB / 342.7 MB, free: 5.062 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.1302, allocations: 15.98 kB / 342.7 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1302, allocations: 4 kB / 342.7 MB, free: 5.043 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.1302, allocations: 7.953 kB / 342.7 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.1322, allocations: 1.053 MB / 343.7 MB, free: 3.945 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.1323, allocations: 128.8 kB / 343.9 MB, free: 3.801 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.1324, allocations: 8 kB / 343.9 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003888/0.1328, allocations: 67.94 kB / 343.9 MB, free: 3.727 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.1329, allocations: 43.83 kB / 344 MB, free: 3.684 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.1329, allocations: 12 kB / 344 MB, free: 3.672 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.1331, allocations: 152.6 kB / 344.1 MB, free: 3.523 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1331, allocations: 0 / 344.1 MB, free: 3.523 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004433/0.1335, allocations: 80 kB / 344.2 MB, free: 3.445 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 (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.0001424/0.1337, allocations: 115.1 kB / 344.3 MB, free: 3.324 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009507/0.1347, allocations: 393.5 kB / 344.7 MB, free: 2.941 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1347, allocations: 7.938 kB / 344.7 MB, free: 2.934 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006646/0.1353, allocations: 280 kB / 345 MB, free: 2.66 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007214/0.1361, allocations: 65.86 kB / 345.1 MB, free: 2.594 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004928/0.141, allocations: 1.741 MB / 346.8 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.1414, allocations: 0.7685 MB / 347.6 MB, free: 8 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001984/0.1416, allocations: 34.97 kB / 347.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.1418, allocations: 35.42 kB / 347.6 MB, free: 15.94 MB / 302.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1418, allocations: 0 / 347.6 MB, free: 15.94 MB / 302.1 MB Notification: Performance of Templates: time 0.008089/0.1499, allocations: 3.708 MB / 351.3 MB, free: 12.23 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches