Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001877/0.001877, allocations: 122.5 kB / 18.51 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002026/0.002026, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 59.91 kB / 373.8 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1174, allocations: 53.32 MB / 427.1 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003982/0.1214, allocations: 2.467 MB / 429.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.1229, allocations: 0.7717 MB / 430.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.123, allocations: 4 kB / 430.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.1232, allocations: 39.53 kB / 430.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.1234, allocations: 107.1 kB / 430.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.1238, allocations: 131.8 kB / 430.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005015/0.1243, allocations: 466.2 kB / 431.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.1244, allocations: 56.95 kB / 431.2 MB, free: 476 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.1247, allocations: 191.4 kB / 431.4 MB, free: 284 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.1249, allocations: 203.2 kB / 431.6 MB, free: 80 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.655e-05/0.125, allocations: 36 kB / 431.6 MB, free: 44 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.198e-05/0.1251, allocations: 44 kB / 431.6 MB, free: 0 / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1252, allocations: 83.91 kB / 431.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.1253, allocations: 187.2 kB / 431.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.1258, allocations: 406.5 kB / 432.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1258, allocations: 0 / 432.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1258, allocations: 3.938 kB / 432.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1258, allocations: 0 / 432.3 MB, free: 15.33 MB / 366.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.00164/0.1275, allocations: 0.6937 MB / 433 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1275, allocations: 11.97 kB / 433 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.099e-05/0.1276, allocations: 36.75 kB / 433 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.128, allocations: 263.8 kB / 433.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.1281, allocations: 88.27 kB / 433.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.637e-05/0.1282, allocations: 24 kB / 433.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009892/0.1292, allocations: 391.1 kB / 433.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.1292, allocations: 4 kB / 433.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.1292, allocations: 8 kB / 433.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.1293, allocations: 8 kB / 433.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.1305, allocations: 395.6 kB / 434.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.132, allocations: 0.9663 MB / 435.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.1332, allocations: 391.5 kB / 435.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/0.1338, allocations: 218.7 kB / 435.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.1338, allocations: 11.94 kB / 435.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.1339, allocations: 34.56 kB / 435.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.874e-06/0.1339, allocations: 0 / 435.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=38): time 0.005206/0.1391, allocations: 2.328 MB / 438.1 MB, free: 9.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.1391, allocations: 106.8 kB / 438.2 MB, free: 8.891 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.1394, allocations: 203.2 kB / 438.4 MB, free: 8.684 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.1394, allocations: 33.7 kB / 438.5 MB, free: 8.645 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.1395, allocations: 152.8 kB / 438.6 MB, free: 8.492 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.1397, allocations: 146.7 kB / 438.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.1398, allocations: 75 kB / 438.8 MB, free: 8.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.14, allocations: 338.8 kB / 439.2 MB, free: 7.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.1403, allocations: 108.8 kB / 439.3 MB, free: 7.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.1407, allocations: 165.5 kB / 439.4 MB, free: 7.645 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006894/0.1414, allocations: 294.8 kB / 439.7 MB, free: 7.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1414, allocations: 4 kB / 439.7 MB, free: 7.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008685/0.1422, allocations: 366.7 kB / 440.1 MB, free: 6.973 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1423, allocations: 6.344 kB / 440.1 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1423, allocations: 3.984 kB / 440.1 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.062e-05/0.1423, allocations: 4 kB / 440.1 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007252/0.143, allocations: 151.8 kB / 440.2 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.143, allocations: 4 kB / 440.2 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.1433, allocations: 27.98 kB / 440.3 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.1433, allocations: 12 kB / 440.3 MB, free: 6.77 MB / 366.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.0001696/0.1435, allocations: 149.7 kB / 440.4 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.1436, allocations: 31.75 kB / 440.5 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.713e-05/0.1436, allocations: 33.53 kB / 440.5 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.1436, allocations: 8 kB / 440.5 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1436, allocations: 0 / 440.5 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.1437, allocations: 3.984 kB / 440.5 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/0.1462, allocations: 1.327 MB / 441.8 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.1462, allocations: 4 kB / 441.8 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008934/0.1471, allocations: 168 kB / 442 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1471, allocations: 4 kB / 442 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/0.1471, allocations: 19.94 kB / 442 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.1471, allocations: 4 kB / 442 MB, free: 4.922 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.324e-05/0.1471, allocations: 7.938 kB / 442 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.1493, allocations: 0.9556 MB / 443 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.1495, allocations: 132.9 kB / 443.1 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.1495, allocations: 11.94 kB / 443.1 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004471/0.15, allocations: 43.95 kB / 443.2 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.1501, allocations: 43.94 kB / 443.2 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.1501, allocations: 12 kB / 443.2 MB, free: 3.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001565/0.1503, allocations: 152.6 kB / 443.4 MB, free: 3.512 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1503, allocations: 0 / 443.4 MB, free: 3.512 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004588/0.1507, allocations: 80 kB / 443.5 MB, free: 3.434 MB / 366.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.0001475/0.1509, allocations: 111.2 kB / 443.6 MB, free: 3.312 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.152, allocations: 363 kB / 443.9 MB, free: 2.961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.152, allocations: 0 / 443.9 MB, free: 2.961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007313/0.1527, allocations: 240 kB / 444.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007115/0.1534, allocations: 80 kB / 444.2 MB, free: 2.652 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005402/0.1588, allocations: 1.439 MB / 445.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.1592, allocations: 0.7721 MB / 446.4 MB, free: 368 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001748/0.1594, allocations: 38.95 kB / 446.5 MB, free: 328 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.1595, allocations: 35.42 kB / 446.5 MB, free: 296 kB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1595, allocations: 0 / 446.5 MB, free: 296 kB / 366.1 MB Notification: Performance of Templates: time 0.1921/0.3517, allocations: 4.377 MB / 450.9 MB, free: 24.24 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.655293246731162]