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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 175.7 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.3 MB / 241.4 MB, free: 9.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008982/0.0008981, allocations: 92.75 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 11.94 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2603, allocations: 50.41 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1048/0.3651, allocations: 78.95 MB / 481.7 MB, free: 1.371 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.3654, allocations: 69.44 kB / 481.8 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02187/0.3873, allocations: 7.798 MB / 489.6 MB, free: 9.496 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3874, allocations: 0 / 489.6 MB, free: 9.496 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.3874, allocations: 4 kB / 489.6 MB, free: 9.492 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.001395/0.3888, allocations: 0.6396 MB / 490.2 MB, free: 8.805 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3889, allocations: 12.03 kB / 490.2 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.389, allocations: 36.56 kB / 490.2 MB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.3894, allocations: 268.5 kB / 490.5 MB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003666/0.3898, allocations: 131.9 kB / 490.6 MB, free: 8.316 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.029e-05/0.3899, allocations: 35.84 kB / 490.7 MB, free: 8.281 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009599/0.3908, allocations: 411.2 kB / 491.1 MB, free: 7.867 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.3909, allocations: 7.984 kB / 491.1 MB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.3909, allocations: 8 kB / 491.1 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.3909, allocations: 8 kB / 491.1 MB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.3921, allocations: 451.6 kB / 491.5 MB, free: 7.402 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.3935, allocations: 0.9815 MB / 492.5 MB, free: 6.359 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.3946, allocations: 452.1 kB / 493 MB, free: 5.891 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006141/0.3952, allocations: 254.4 kB / 493.2 MB, free: 5.633 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.3953, allocations: 11.97 kB / 493.2 MB, free: 5.621 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.3953, allocations: 34.56 kB / 493.3 MB, free: 5.578 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.846e-06/0.3953, allocations: 4 kB / 493.3 MB, free: 5.574 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.004837/0.4002, allocations: 2.516 MB / 495.8 MB, free: 2.797 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.4002, allocations: 106.8 kB / 495.9 MB, free: 2.668 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.4005, allocations: 203.2 kB / 496.1 MB, free: 2.457 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.4005, allocations: 33.7 kB / 496.1 MB, free: 2.418 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.236e-05/0.4006, allocations: 148.6 kB / 496.3 MB, free: 2.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.4007, allocations: 138 kB / 496.4 MB, free: 2.133 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.4008, allocations: 8 kB / 496.4 MB, free: 2.125 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.4009, allocations: 342.8 kB / 496.7 MB, free: 1.781 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.4012, allocations: 112.8 kB / 496.8 MB, free: 1.672 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.4015, allocations: 177.4 kB / 497 MB, free: 1.477 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006113/0.4022, allocations: 301.2 kB / 497.3 MB, free: 1.168 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4022, allocations: 0 / 497.3 MB, free: 1.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008581/0.403, allocations: 376.3 kB / 497.7 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.4031, allocations: 7.938 kB / 497.7 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.4031, allocations: 0 / 497.7 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.4031, allocations: 4 kB / 497.7 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006682/0.4038, allocations: 167.9 kB / 497.9 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.4038, allocations: 8 kB / 497.9 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.4041, allocations: 23.98 kB / 497.9 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.4041, allocations: 12 kB / 497.9 MB, free: 0.5781 MB / 362.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.0001558/0.4042, allocations: 145.8 kB / 498 MB, free: 436 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.941e-05/0.4043, allocations: 39.59 kB / 498.1 MB, free: 396 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.672e-05/0.4044, allocations: 29.53 kB / 498.1 MB, free: 368 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4044, allocations: 4 kB / 498.1 MB, free: 364 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.4044, allocations: 3.984 kB / 498.1 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.4045, allocations: 4 kB / 498.1 MB, free: 356 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.4068, allocations: 1.39 MB / 499.5 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.4069, allocations: 0 / 499.5 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008135/0.4077, allocations: 208 kB / 499.7 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.4077, allocations: 4 kB / 499.7 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.4077, allocations: 12 kB / 499.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.4077, allocations: 8.031 kB / 499.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4078, allocations: 11.88 kB / 499.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.4097, allocations: 1.039 MB / 0.489 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.4099, allocations: 136.8 kB / 0.4892 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.41, allocations: 12 kB / 0.4892 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004115/0.4104, allocations: 63.89 kB / 0.4893 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.4105, allocations: 39.94 kB / 0.4893 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.4105, allocations: 11.98 kB / 0.4893 GB, free: 13.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001353/0.4107, allocations: 152.6 kB / 0.4894 GB, free: 13.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4107, allocations: 0 / 0.4894 GB, free: 13.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004396/0.4111, allocations: 84 kB / 0.4895 GB, free: 13.04 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.0001622/0.4113, allocations: 111.1 kB / 0.4896 GB, free: 12.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009893/0.4123, allocations: 411.8 kB / 0.49 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.4123, allocations: 4 kB / 0.49 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006725/0.413, allocations: 280 kB / 0.4903 GB, free: 12.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000738/0.4137, allocations: 71.78 kB / 0.4904 GB, free: 12.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004949/0.4187, allocations: 1.746 MB / 0.4921 GB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.4191, allocations: 0.7685 MB / 0.4928 GB, free: 9.582 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002278/0.4193, allocations: 46.95 kB / 0.4929 GB, free: 9.535 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.4195, allocations: 35.42 kB / 0.4929 GB, free: 9.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.372e-06/0.4195, allocations: 0 / 0.4929 GB, free: 9.5 MB / 378.7 MB Notification: Performance of Templates: time 0.009144/0.4286, allocations: 3.74 MB / 0.4966 GB, free: 5.797 MB / 378.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches