Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.000764/0.0007641, allocations: 90.39 kB / 16.65 MB, free: 6.586 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.0009095/0.0009095, allocations: 181.2 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002666/0.0002666, allocations: 7.938 kB / 301.4 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1112, allocations: 50.42 MB / 351.8 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003184/0.1145, allocations: 2.12 MB / 354 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1159, allocations: 0.7173 MB / 354.7 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.1161, allocations: 7.938 kB / 354.7 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.1162, allocations: 27.77 kB / 354.7 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.1164, allocations: 95.3 kB / 354.8 MB, free: 492 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.1167, allocations: 111.8 kB / 354.9 MB, free: 380 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004026/0.1171, allocations: 446.2 kB / 355.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.1173, allocations: 65.36 kB / 355.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.1175, allocations: 163.4 kB / 355.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.1178, allocations: 187.3 kB / 355.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.4e-05/0.1178, allocations: 20 kB / 355.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.968e-05/0.1179, allocations: 24 kB / 355.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.203e-05/0.118, allocations: 71.73 kB / 355.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.1182, allocations: 188.9 kB / 356.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.1185, allocations: 374.9 kB / 356.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1185, allocations: 0 / 356.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1185, allocations: 0 / 356.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1185, allocations: 0 / 356.4 MB, free: 14.85 MB / 302.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.001534/0.1201, allocations: 0.6747 MB / 357.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1201, allocations: 8.031 kB / 357.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.695e-05/0.1202, allocations: 36.5 kB / 357.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.1206, allocations: 271.5 kB / 357.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004614/0.1211, allocations: 144.2 kB / 357.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/0.1212, allocations: 24 kB / 357.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009647/0.1222, allocations: 423.1 kB / 358 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.1222, allocations: 3.906 kB / 358 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.249e-05/0.1222, allocations: 12 kB / 358 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.1223, allocations: 8 kB / 358 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.1236, allocations: 459.5 kB / 358.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.1249, allocations: 0.9547 MB / 359.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.126, allocations: 463.5 kB / 359.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006552/0.1267, allocations: 246.4 kB / 360.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1267, allocations: 12.41 kB / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.1268, allocations: 42.5 kB / 360.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.1268, allocations: 0 / 360.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.00527/0.132, allocations: 2.507 MB / 362.7 MB, free: 8.121 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.1321, allocations: 110.8 kB / 362.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.1323, allocations: 207.2 kB / 363 MB, free: 7.773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.1324, allocations: 29.7 kB / 363 MB, free: 7.738 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.123e-05/0.1325, allocations: 152.6 kB / 363.2 MB, free: 7.586 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.1326, allocations: 134 kB / 363.3 MB, free: 7.453 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.1326, allocations: 41.7 kB / 363.3 MB, free: 7.406 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1328, allocations: 330.8 kB / 363.6 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.1331, allocations: 116.8 kB / 363.8 MB, free: 6.961 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.1335, allocations: 173.4 kB / 363.9 MB, free: 6.773 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007093/0.1342, allocations: 303.8 kB / 364.2 MB, free: 6.465 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1342, allocations: 4 kB / 364.2 MB, free: 6.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000831/0.1351, allocations: 376.9 kB / 364.6 MB, free: 6.086 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1351, allocations: 4 kB / 364.6 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1351, allocations: 4 kB / 364.6 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1351, allocations: 96 / 364.6 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007295/0.1359, allocations: 171.8 kB / 364.8 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1359, allocations: 4 kB / 364.8 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.1361, allocations: 35.97 kB / 364.8 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.1362, allocations: 12 kB / 364.8 MB, free: 5.859 MB / 302.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.0001625/0.1363, allocations: 161.5 kB / 365 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.981e-05/0.1365, allocations: 31.66 kB / 365 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.871e-05/0.1365, allocations: 29.52 kB / 365 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1365, allocations: 4 kB / 365 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-06/0.1366, allocations: 4 kB / 365.1 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1366, allocations: 4 kB / 365.1 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.1392, allocations: 1.413 MB / 366.5 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1392, allocations: 4 kB / 366.5 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008913/0.1401, allocations: 204 kB / 366.7 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1401, allocations: 0 / 366.7 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.1401, allocations: 23.92 kB / 366.7 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.1402, allocations: 7.938 kB / 366.7 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.1402, allocations: 3.984 kB / 366.7 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.1423, allocations: 1.05 MB / 367.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.1424, allocations: 124.8 kB / 367.9 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.1425, allocations: 11.94 kB / 367.9 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004438/0.1429, allocations: 67.94 kB / 368 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.1431, allocations: 31.95 kB / 368 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.1431, allocations: 23.98 kB / 368 MB, free: 2.512 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.1433, allocations: 152.6 kB / 368.2 MB, free: 2.363 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.104e-06/0.1433, allocations: 0 / 368.2 MB, free: 2.363 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00045/0.1437, allocations: 83.94 kB / 368.2 MB, free: 2.281 MB / 302.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.0001578/0.1439, allocations: 111.1 kB / 368.4 MB, free: 2.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.145, allocations: 407.5 kB / 368.7 MB, free: 1.762 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.145, allocations: 0 / 368.7 MB, free: 1.762 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007434/0.1458, allocations: 280 kB / 369 MB, free: 1.488 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007535/0.1466, allocations: 75.88 kB / 369.1 MB, free: 1.418 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1559/0.3024, allocations: 1.769 MB / 370.9 MB, free: 24.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.3028, allocations: 0.7682 MB / 371.6 MB, free: 24.01 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003268/0.3031, allocations: 37.08 kB / 371.7 MB, free: 24.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.3033, allocations: 36.3 kB / 371.7 MB, free: 24 MB / 302.1 MB Notification: Performance of SimCode: time 1.262e-06/0.3033, allocations: 0 / 371.7 MB, free: 24 MB / 302.1 MB Notification: Performance of Templates: time 0.0129/0.3162, allocations: 3.832 MB / 375.5 MB, free: 23.88 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches