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.001291/0.001291, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 58.97 kB / 307.1 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09113/0.09254, allocations: 50.54 MB / 357.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003808/0.09638, allocations: 2.491 MB / 360.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.09797, allocations: 0.764 MB / 360.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.09823, allocations: 7.938 kB / 360.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.0985, allocations: 31.77 kB / 360.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.09881, allocations: 87.3 kB / 361 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.09922, allocations: 111.8 kB / 361.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005034/0.09973, allocations: 466.2 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.09995, allocations: 84.86 kB / 361.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003343/0.1003, allocations: 195.4 kB / 361.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.1006, allocations: 203.3 kB / 362.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.817e-05/0.1007, allocations: 40 kB / 362.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.102e-05/0.1008, allocations: 36 kB / 362.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.05e-05/0.1009, allocations: 91.72 kB / 362.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.101, allocations: 175.2 kB / 362.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.1014, allocations: 307.5 kB / 362.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1014, allocations: 0 / 362.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1014, allocations: 0 / 362.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.1014, allocations: 0 / 362.7 MB, free: 9.332 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.001583/0.103, allocations: 0.6809 MB / 363.4 MB, free: 8.605 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1031, allocations: 8.031 kB / 363.4 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.576e-05/0.1032, allocations: 36.56 kB / 363.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.1035, allocations: 275.6 kB / 363.7 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003755/0.1039, allocations: 128.2 kB / 363.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.944e-05/0.104, allocations: 31.91 kB / 363.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009204/0.1049, allocations: 379.2 kB / 364.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.105, allocations: 4 kB / 364.2 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.105, allocations: 8 kB / 364.2 MB, free: 7.691 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.105, allocations: 12 kB / 364.2 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.1062, allocations: 392.3 kB / 364.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.1075, allocations: 0.9618 MB / 365.6 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.1086, allocations: 411.5 kB / 366 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005904/0.1092, allocations: 222.4 kB / 366.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.1092, allocations: 11.98 kB / 366.2 MB, free: 5.609 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1093, allocations: 34.56 kB / 366.2 MB, free: 5.566 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.774e-06/0.1093, allocations: 0 / 366.2 MB, free: 5.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.004769/0.114, allocations: 2.311 MB / 368.6 MB, free: 2.992 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.1141, allocations: 111.8 kB / 368.7 MB, free: 2.859 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.1144, allocations: 211.2 kB / 368.9 MB, free: 2.637 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.1144, allocations: 29.7 kB / 368.9 MB, free: 2.602 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.267e-05/0.1145, allocations: 148.6 kB / 369 MB, free: 2.453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.1146, allocations: 141.9 kB / 369.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.1148, allocations: 70.12 kB / 369.3 MB, free: 2.238 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1149, allocations: 338.8 kB / 369.6 MB, free: 1.898 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.1152, allocations: 108.8 kB / 369.7 MB, free: 1.793 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.1156, allocations: 165.5 kB / 369.9 MB, free: 1.613 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006271/0.1162, allocations: 293.7 kB / 370.1 MB, free: 1.312 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1163, allocations: 3.938 kB / 370.1 MB, free: 1.309 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008134/0.1171, allocations: 372.9 kB / 370.5 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1171, allocations: 4 kB / 370.5 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1171, allocations: 4 kB / 370.5 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1171, allocations: 7.984 kB / 370.5 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006886/0.1178, allocations: 147.9 kB / 370.7 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.1179, allocations: 7.922 kB / 370.7 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.1181, allocations: 27.98 kB / 370.7 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.1181, allocations: 12 kB / 370.7 MB, free: 0.7305 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.0001565/0.1183, allocations: 149.7 kB / 370.9 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.1184, allocations: 31.66 kB / 370.9 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.287e-05/0.1185, allocations: 33.52 kB / 370.9 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1185, allocations: 4 kB / 370.9 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1185, allocations: 0 / 370.9 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.1185, allocations: 7.984 kB / 370.9 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1679/0.2865, allocations: 1.313 MB / 372.3 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.597e-06/0.2865, allocations: 2.984 kB / 372.3 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008967/0.2874, allocations: 165.5 kB / 372.4 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.2874, allocations: 9.875 kB / 372.4 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.2875, allocations: 14.48 kB / 372.4 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.2875, allocations: 3.625 kB / 372.4 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.2875, allocations: 6.688 kB / 372.4 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.2895, allocations: 0.9505 MB / 373.4 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.2896, allocations: 125.5 kB / 373.5 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.2897, allocations: 10.92 kB / 373.5 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.2901, allocations: 48.41 kB / 373.6 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.2902, allocations: 51.72 kB / 373.6 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.2903, allocations: 15.62 kB / 373.6 MB, free: 19.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.2904, allocations: 147.7 kB / 373.8 MB, free: 19.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2904, allocations: 1.094 kB / 373.8 MB, free: 19.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004634/0.2909, allocations: 83.91 kB / 373.9 MB, free: 19.47 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.0001325/0.291, allocations: 112.6 kB / 374 MB, free: 19.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.2921, allocations: 384.5 kB / 374.4 MB, free: 19.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.2921, allocations: 2.188 kB / 374.4 MB, free: 19.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006964/0.2928, allocations: 250.5 kB / 374.6 MB, free: 19.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007951/0.2936, allocations: 64.55 kB / 374.7 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/0.2984, allocations: 1.571 MB / 376.2 MB, free: 18.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.2986, allocations: 0.7716 MB / 377 MB, free: 17.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.2988, allocations: 35.83 kB / 377 MB, free: 17.85 MB / 302.1 MB Notification: Performance of SimCode: time 1.312e-06/0.2988, allocations: 0 / 377 MB, free: 17.85 MB / 302.1 MB Notification: Performance of Templates: time 0.007197/0.306, allocations: 3.852 MB / 380.9 MB, free: 17.5 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches