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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009146/0.0009145, allocations: 95.12 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 199.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002359/0.000236, allocations: 4 kB / 307.7 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1055, allocations: 51.53 MB / 359.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.00241/0.108, allocations: 2.133 MB / 361.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1093, allocations: 0.7563 MB / 362.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1095, allocations: 7.938 kB / 362.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.1096, allocations: 27.78 kB / 362.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.1098, allocations: 95.22 kB / 362.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.1101, allocations: 111.9 kB / 362.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003952/0.1105, allocations: 446.1 kB / 362.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.1107, allocations: 81.23 kB / 362.9 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.1109, allocations: 159.4 kB / 363 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.1111, allocations: 191.2 kB / 363.2 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.565e-05/0.1112, allocations: 20 kB / 363.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.859e-05/0.1112, allocations: 20 kB / 363.3 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.1113, allocations: 71.72 kB / 363.3 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.1115, allocations: 177 kB / 363.5 MB, free: 9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.1118, allocations: 390.8 kB / 363.9 MB, free: 8.617 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1118, allocations: 0 / 363.9 MB, free: 8.617 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1118, allocations: 0 / 363.9 MB, free: 8.617 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1119, allocations: 0 / 363.9 MB, free: 8.617 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.001567/0.1134, allocations: 0.6669 MB / 364.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1135, allocations: 12.03 kB / 364.6 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.614e-05/0.1136, allocations: 32.56 kB / 364.6 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.1139, allocations: 279.5 kB / 364.9 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003596/0.1143, allocations: 132.2 kB / 365 MB, free: 7.406 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/0.1143, allocations: 31.91 kB / 365 MB, free: 7.375 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009902/0.1153, allocations: 411.2 kB / 365.4 MB, free: 6.961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.1154, allocations: 0 / 365.4 MB, free: 6.961 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.99e-05/0.1154, allocations: 16 kB / 365.5 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1154, allocations: 4 kB / 365.5 MB, free: 6.941 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.1167, allocations: 467.5 kB / 365.9 MB, free: 6.484 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.118, allocations: 0.9542 MB / 366.9 MB, free: 5.469 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.1192, allocations: 463.7 kB / 367.3 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006501/0.1198, allocations: 250.6 kB / 367.6 MB, free: 4.734 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.1199, allocations: 8 kB / 367.6 MB, free: 4.727 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.1199, allocations: 38.5 kB / 367.6 MB, free: 4.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.993e-06/0.1199, allocations: 0 / 367.6 MB, free: 4.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.005127/0.125, allocations: 2.522 MB / 370.1 MB, free: 1.895 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.1251, allocations: 106.8 kB / 370.2 MB, free: 1.766 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.1253, allocations: 207.2 kB / 370.4 MB, free: 1.551 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.1254, allocations: 29.7 kB / 370.5 MB, free: 1.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.387e-05/0.1255, allocations: 152.6 kB / 370.6 MB, free: 1.363 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.1256, allocations: 141.9 kB / 370.8 MB, free: 1.223 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.1257, allocations: 38.64 kB / 370.8 MB, free: 1.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1258, allocations: 334.8 kB / 371.1 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.1261, allocations: 120.7 kB / 371.2 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.1265, allocations: 173.5 kB / 371.4 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006535/0.1271, allocations: 291.5 kB / 371.7 MB, free: 244 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1271, allocations: 0 / 371.7 MB, free: 244 kB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.1845/0.3117, allocations: 375 kB / 372.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.3117, allocations: 6.656 kB / 372.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3117, allocations: 2.156 kB / 372.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.3118, allocations: 3.906 kB / 372.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007685/0.3126, allocations: 174.7 kB / 372.2 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.3126, allocations: 7.219 kB / 372.3 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.3129, allocations: 29.06 kB / 372.3 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.3129, allocations: 11.81 kB / 372.3 MB, free: 19.3 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.0001532/0.313, allocations: 150.7 kB / 372.4 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.3132, allocations: 29.28 kB / 372.5 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.373e-05/0.3132, allocations: 32.95 kB / 372.5 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.066e-06/0.3133, allocations: 6.547 kB / 372.5 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3133, allocations: 4.328 kB / 372.5 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3133, allocations: 2.953 kB / 372.5 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.3156, allocations: 1.386 MB / 373.9 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.3156, allocations: 3.719 kB / 373.9 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008757/0.3165, allocations: 208.3 kB / 374.1 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.3165, allocations: 4.062 kB / 374.1 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.3165, allocations: 13 kB / 374.1 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.3165, allocations: 4.781 kB / 374.1 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3165, allocations: 2.469 kB / 374.1 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/0.3187, allocations: 1.05 MB / 375.2 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.3188, allocations: 128.4 kB / 375.3 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.476e-05/0.3189, allocations: 9.875 kB / 375.3 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/0.3193, allocations: 64.88 kB / 375.4 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.3194, allocations: 40.78 kB / 375.4 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.3195, allocations: 18.89 kB / 375.4 MB, free: 18.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.3196, allocations: 149.5 kB / 375.6 MB, free: 18.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.32e-07/0.3196, allocations: 4 kB / 375.6 MB, free: 18.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000443/0.3201, allocations: 84.34 kB / 375.7 MB, free: 18.04 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.0001127/0.3202, allocations: 108.6 kB / 375.8 MB, free: 17.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.3212, allocations: 403.1 kB / 376.2 MB, free: 17.92 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3212, allocations: 5.562 kB / 376.2 MB, free: 17.92 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006866/0.3219, allocations: 288.9 kB / 376.5 MB, free: 17.9 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007229/0.3227, allocations: 69.84 kB / 376.5 MB, free: 17.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005031/0.3277, allocations: 1.777 MB / 378.3 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.328, allocations: 0.7674 MB / 379.1 MB, free: 16.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000179/0.3281, allocations: 37.67 kB / 379.1 MB, free: 16.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.3283, allocations: 35.36 kB / 379.1 MB, free: 16.43 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3283, allocations: 0 / 379.1 MB, free: 16.43 MB / 302.1 MB Notification: Performance of Templates: time 0.007717/0.336, allocations: 3.854 MB / 383 MB, free: 16.1 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches