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.0009689/0.0009687, allocations: 96.62 kB / 17.3 MB, free: 6.391 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.001071/0.001071, allocations: 176.4 kB / 18.21 MB, free: 5.551 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.616/1.616, allocations: 205.4 MB / 224.4 MB, free: 13.09 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.0008691/0.0008693, allocations: 8 kB / 281.4 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1199, allocations: 47.59 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003258/0.1232, allocations: 2.127 MB / 331.1 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.1255, allocations: 0.7533 MB / 331.8 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.1258, allocations: 4 kB / 331.8 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.126, allocations: 31.77 kB / 331.9 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.1263, allocations: 99.22 kB / 332 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.1267, allocations: 107.9 kB / 332.1 MB, free: 0.625 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004696/0.1272, allocations: 442.2 kB / 332.5 MB, free: 196 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.1274, allocations: 85.3 kB / 332.6 MB, free: 108 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.1277, allocations: 147.5 kB / 332.7 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.1279, allocations: 199.2 kB / 332.9 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.225e-05/0.128, allocations: 20 kB / 333 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.138e-05/0.128, allocations: 20 kB / 333 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.1281, allocations: 67.73 kB / 333 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.1283, allocations: 184.9 kB / 333.2 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.1287, allocations: 378.9 kB / 333.6 MB, free: 15.1 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1287, allocations: 0 / 333.6 MB, free: 15.1 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1287, allocations: 0 / 333.6 MB, free: 15.1 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1287, allocations: 4 kB / 333.6 MB, free: 15.1 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.001549/0.1303, allocations: 0.6745 MB / 334.3 MB, free: 14.38 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.1303, allocations: 8.031 kB / 334.3 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.052e-05/0.1304, allocations: 36.56 kB / 334.3 MB, free: 14.33 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.1308, allocations: 275.5 kB / 334.6 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003766/0.1312, allocations: 136.2 kB / 334.7 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/0.1313, allocations: 28 kB / 334.7 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009551/0.1322, allocations: 411.2 kB / 335.1 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.1323, allocations: 3.906 kB / 335.1 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.1323, allocations: 12 kB / 335.2 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1323, allocations: 4 kB / 335.2 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.1336, allocations: 463.5 kB / 335.6 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.1349, allocations: 0.9774 MB / 336.6 MB, free: 11.92 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.136, allocations: 463.5 kB / 337 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006374/0.1367, allocations: 246.4 kB / 337.3 MB, free: 11.19 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.1367, allocations: 4 kB / 337.3 MB, free: 11.19 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.1367, allocations: 42.48 kB / 337.3 MB, free: 11.14 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.873e-06/0.1368, allocations: 4 kB / 337.3 MB, free: 11.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=38): time 0.005091/0.1418, allocations: 2.508 MB / 339.8 MB, free: 8.359 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.878e-05/0.142, allocations: 107.8 kB / 340 MB, free: 8.23 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.1422, allocations: 203.2 kB / 340.1 MB, free: 8.02 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.1422, allocations: 33.7 kB / 340.2 MB, free: 7.98 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1423, allocations: 148.6 kB / 340.3 MB, free: 7.832 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.1425, allocations: 142 kB / 340.5 MB, free: 7.691 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.557e-05/0.1425, allocations: 41.64 kB / 340.5 MB, free: 7.645 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1427, allocations: 338.8 kB / 340.8 MB, free: 7.305 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.143, allocations: 112.8 kB / 340.9 MB, free: 7.195 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.1433, allocations: 173.4 kB / 341.1 MB, free: 7.004 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006444/0.144, allocations: 297.2 kB / 341.4 MB, free: 6.695 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.144, allocations: 3.938 kB / 341.4 MB, free: 6.691 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008028/0.1448, allocations: 394.8 kB / 341.8 MB, free: 6.301 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.1448, allocations: 4 kB / 341.8 MB, free: 6.297 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1448, allocations: 0 / 341.8 MB, free: 6.297 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1449, allocations: 4 kB / 341.8 MB, free: 6.293 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007118/0.1456, allocations: 175.8 kB / 342 MB, free: 6.121 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1456, allocations: 4 kB / 342 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.1458, allocations: 27.97 kB / 342 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.1459, allocations: 12 kB / 342 MB, free: 6.078 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.0001665/0.146, allocations: 145.8 kB / 342.2 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.476e-05/0.1461, allocations: 31.66 kB / 342.2 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.745e-05/0.1462, allocations: 33.52 kB / 342.2 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1462, allocations: 4 kB / 342.2 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.1462, allocations: 0 / 342.2 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1462, allocations: 7.984 kB / 342.2 MB, free: 5.848 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.1485, allocations: 1.389 MB / 343.6 MB, free: 4.363 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1485, allocations: 192 / 343.6 MB, free: 4.363 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008505/0.1494, allocations: 211.8 kB / 343.8 MB, free: 4.156 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1494, allocations: 8 kB / 343.8 MB, free: 4.148 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.1495, allocations: 15.92 kB / 343.9 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1495, allocations: 4 kB / 343.9 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.1495, allocations: 4 kB / 343.9 MB, free: 4.125 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.1515, allocations: 1.049 MB / 344.9 MB, free: 3.039 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.1517, allocations: 128.8 kB / 345 MB, free: 2.895 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/0.1517, allocations: 15.94 kB / 345.1 MB, free: 2.879 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.1522, allocations: 67.94 kB / 345.1 MB, free: 2.812 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.1523, allocations: 35.89 kB / 345.2 MB, free: 2.777 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.1523, allocations: 15.98 kB / 345.2 MB, free: 2.762 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.1525, allocations: 148.6 kB / 345.3 MB, free: 2.617 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1525, allocations: 0 / 345.3 MB, free: 2.617 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000466/0.1529, allocations: 84 kB / 345.4 MB, free: 2.535 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.0001681/0.1531, allocations: 111.1 kB / 345.5 MB, free: 2.418 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.1542, allocations: 401.6 kB / 345.9 MB, free: 2.027 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1542, allocations: 96 / 345.9 MB, free: 2.027 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006932/0.1549, allocations: 292.8 kB / 346.2 MB, free: 1.742 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007803/0.1557, allocations: 65.02 kB / 346.2 MB, free: 1.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005289/0.161, allocations: 1.772 MB / 348 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.1614, allocations: 0.7607 MB / 348.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002185/0.1617, allocations: 46.95 kB / 348.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.1618, allocations: 35.36 kB / 348.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1618, allocations: 0 / 348.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of Templates: time 0.008224/0.17, allocations: 3.842 MB / 352.7 MB, free: 11.15 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