Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, allocations: 199.1 kB / 18.07 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 226.5 MB / 245.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009502/0.0009501, allocations: 96.47 kB / 297.4 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002337/0.0002338, allocations: 4 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1967, allocations: 51.29 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08639/0.2831, allocations: 79.67 MB / 488.3 MB, free: 11.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.2833, allocations: 71.95 kB / 488.4 MB, free: 11.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02164/0.305, allocations: 7.832 MB / 496.2 MB, free: 3.992 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.305, allocations: 0 / 496.2 MB, free: 3.992 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.3051, allocations: 4 kB / 496.2 MB, free: 3.988 MB / 362.7 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.001266/0.3063, allocations: 0.6512 MB / 496.9 MB, free: 3.289 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3064, allocations: 15.97 kB / 496.9 MB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/0.3065, allocations: 32.56 kB / 496.9 MB, free: 3.242 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.3068, allocations: 264.3 kB / 497.2 MB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003372/0.3071, allocations: 131.9 kB / 497.3 MB, free: 2.805 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-05/0.3072, allocations: 43.83 kB / 497.4 MB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008584/0.3081, allocations: 403.2 kB / 497.8 MB, free: 2.355 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.3081, allocations: 11.88 kB / 497.8 MB, free: 2.344 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.3081, allocations: 16 kB / 497.8 MB, free: 2.328 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3082, allocations: 4 kB / 497.8 MB, free: 2.324 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.3093, allocations: 455 kB / 498.2 MB, free: 1.883 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.3106, allocations: 0.9774 MB / 499.2 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009982/0.3116, allocations: 452.1 kB / 499.6 MB, free: 388 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005858/0.3122, allocations: 242.4 kB / 499.9 MB, free: 136 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.3122, allocations: 11.94 kB / 499.9 MB, free: 124 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.3123, allocations: 38.98 kB / 499.9 MB, free: 76 kB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.444e-06/0.3123, allocations: 0 / 499.9 MB, free: 76 kB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.004708/0.317, allocations: 2.516 MB / 0.4907 GB, free: 13.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.3171, allocations: 110.8 kB / 0.4908 GB, free: 13.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.3173, allocations: 203.2 kB / 0.491 GB, free: 12.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.3173, allocations: 37.7 kB / 0.491 GB, free: 12.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.308e-05/0.3174, allocations: 156.5 kB / 0.4912 GB, free: 12.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.93e-05/0.3175, allocations: 134 kB / 0.4913 GB, free: 12.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.3176, allocations: 11.98 kB / 0.4913 GB, free: 12.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3177, allocations: 338.8 kB / 0.4916 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.318, allocations: 108.8 kB / 0.4917 GB, free: 12.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.3183, allocations: 169.5 kB / 0.4919 GB, free: 11.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006131/0.3189, allocations: 300.5 kB / 0.4922 GB, free: 11.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3189, allocations: 0 / 0.4922 GB, free: 11.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007866/0.3197, allocations: 373 kB / 0.4925 GB, free: 11.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3198, allocations: 11.88 kB / 0.4925 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3198, allocations: 4 kB / 0.4925 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3198, allocations: 4 kB / 0.4925 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006926/0.3205, allocations: 167.9 kB / 0.4927 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3205, allocations: 4 kB / 0.4927 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.3208, allocations: 31.98 kB / 0.4927 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.3208, allocations: 8 kB / 0.4927 GB, free: 11.07 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.321, allocations: 145.8 kB / 0.4929 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.425e-05/0.3211, allocations: 31.66 kB / 0.4929 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.817e-05/0.3211, allocations: 29.53 kB / 0.4929 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.3212, allocations: 7.984 kB / 0.493 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3212, allocations: 4 kB / 0.493 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.3212, allocations: 7.984 kB / 0.493 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.3235, allocations: 1.389 MB / 0.4943 GB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3235, allocations: 3.938 kB / 0.4943 GB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008501/0.3243, allocations: 208 kB / 0.4945 GB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.3243, allocations: 4 kB / 0.4945 GB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.3244, allocations: 12 kB / 0.4945 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.3244, allocations: 7.938 kB / 0.4945 GB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.3244, allocations: 8.406 kB / 0.4946 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.3264, allocations: 1.057 MB / 0.4956 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.3266, allocations: 128.8 kB / 0.4957 GB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/0.3266, allocations: 11.94 kB / 0.4957 GB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.327, allocations: 67.89 kB / 0.4958 GB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/0.3271, allocations: 35.94 kB / 0.4958 GB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.3272, allocations: 19.98 kB / 0.4958 GB, free: 7.746 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001282/0.3273, allocations: 156.6 kB / 0.496 GB, free: 7.594 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3273, allocations: 0 / 0.496 GB, free: 7.594 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000454/0.3278, allocations: 80 kB / 0.4961 GB, free: 7.516 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001494/0.3279, allocations: 107.2 kB / 0.4962 GB, free: 7.402 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000955/0.3289, allocations: 411.1 kB / 0.4966 GB, free: 7.004 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3289, allocations: 4 kB / 0.4966 GB, free: 7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006505/0.3296, allocations: 276 kB / 0.4968 GB, free: 6.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007312/0.3303, allocations: 73.89 kB / 0.4969 GB, free: 6.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/0.3351, allocations: 1.778 MB / 0.4986 GB, free: 4.828 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.3354, allocations: 0.7684 MB / 0.4994 GB, free: 4.031 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.3356, allocations: 35.42 kB / 0.4994 GB, free: 4 MB / 378.7 MB Notification: Performance of SimCode: time 5.17e-06/0.3356, allocations: 0 / 0.4994 GB, free: 4 MB / 378.7 MB Notification: Performance of Templates: time 0.005374/0.341, allocations: 3.811 MB / 0.5031 GB, free: 204 kB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches