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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008303/0.0008303, allocations: 84 kB / 21.43 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003486/0.003486, allocations: 147.8 kB / 24.68 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8288/0.8288, allocations: 173.4 MB / 201.2 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 3.938 kB / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.072e-05, allocations: 2.281 kB / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002258/0.002279, allocations: 2.279 MB / 321.9 MB, free: 3.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000905/0.003184, allocations: 0.7131 MB / 322.7 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.003286, allocations: 7.938 kB / 322.7 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.003407, allocations: 43.58 kB / 322.7 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.003553, allocations: 118.9 kB / 322.8 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.003815, allocations: 131.7 kB / 323 MB, free: 2.555 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00032/0.004135, allocations: 490 kB / 323.4 MB, free: 2.074 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.004277, allocations: 57.12 kB / 323.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.004496, allocations: 271.4 kB / 323.8 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.004642, allocations: 163.6 kB / 323.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.84e-05/0.00469, allocations: 40 kB / 324 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.711e-05/0.004728, allocations: 36 kB / 324 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.493e-05/0.004782, allocations: 87.72 kB / 324.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.69e-05/0.004869, allocations: 131.7 kB / 324.2 MB, free: 1.297 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003278/0.005197, allocations: 442.7 kB / 324.6 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005199, allocations: 0 / 324.6 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.0052, allocations: 0 / 324.6 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.005204, allocations: 0 / 324.6 MB, free: 0.8633 MB / 282.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.000917/0.006121, allocations: 0.6144 MB / 325.3 MB, free: 220 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.006159, allocations: 12.92 kB / 325.3 MB, free: 208 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.006216, allocations: 32.75 kB / 325.3 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.006489, allocations: 221 kB / 325.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003593/0.006849, allocations: 131.9 kB / 325.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.006894, allocations: 32.38 kB / 325.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.007418, allocations: 382.5 kB / 326 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.007434, allocations: 3.953 kB / 326 MB, free: 15.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.007457, allocations: 12 kB / 326.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.007464, allocations: 8 kB / 326.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006284/0.008092, allocations: 383.6 kB / 326.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000776/0.008868, allocations: 0.7986 MB / 327.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005853/0.009454, allocations: 391.5 kB / 327.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.009773, allocations: 214.4 kB / 327.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.009794, allocations: 7.984 kB / 327.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.009816, allocations: 34.56 kB / 327.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.893e-06/0.009817, allocations: 0 / 327.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.002757/0.01257, allocations: 1.877 MB / 329.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.01263, allocations: 118.7 kB / 329.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.01276, allocations: 191.6 kB / 330.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.01278, allocations: 29.7 kB / 330.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.557e-05/0.01286, allocations: 160.7 kB / 330.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.618e-05/0.01293, allocations: 138.8 kB / 330.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.769e-05/0.01302, allocations: 78.12 kB / 330.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.01311, allocations: 334.8 kB / 330.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.01329, allocations: 104.9 kB / 330.9 MB, free: 10.22 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.01348, allocations: 178 kB / 331.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.01384, allocations: 289.2 kB / 331.3 MB, free: 9.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01384, allocations: 0 / 331.3 MB, free: 9.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004431/0.01429, allocations: 368.9 kB / 331.7 MB, free: 9.367 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.0143, allocations: 8 kB / 331.7 MB, free: 9.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01431, allocations: 96 / 331.7 MB, free: 9.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.01432, allocations: 8 kB / 331.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.01465, allocations: 151.8 kB / 331.9 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.01466, allocations: 0.9375 kB / 331.9 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.01476, allocations: 31.97 kB / 331.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.01477, allocations: 11.94 kB / 331.9 MB, free: 9.16 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.782e-05/0.01487, allocations: 145.8 kB / 332 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.01492, allocations: 31.86 kB / 332.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.01496, allocations: 29.45 kB / 332.1 MB, free: 8.949 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01497, allocations: 4 kB / 332.1 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.01497, allocations: 7.938 kB / 332.1 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01498, allocations: 0 / 332.1 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.01657, allocations: 1.19 MB / 333.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01657, allocations: 4 kB / 333.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/0.01696, allocations: 168 kB / 333.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.01696, allocations: 4 kB / 333.5 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.01698, allocations: 15.98 kB / 333.5 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01698, allocations: 4 kB / 333.5 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.01699, allocations: 7.938 kB / 333.5 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.01805, allocations: 0.9478 MB / 334.5 MB, free: 6.484 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/0.01813, allocations: 55.83 kB / 334.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.01816, allocations: 12 kB / 334.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.01835, allocations: 43.94 kB / 334.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.01842, allocations: 47.81 kB / 334.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.01844, allocations: 12 kB / 334.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.596e-05/0.0185, allocations: 136.5 kB / 334.8 MB, free: 6.184 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0185, allocations: 0 / 334.8 MB, free: 6.184 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002607/0.01876, allocations: 84 kB / 334.8 MB, free: 6.102 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.867e-05/0.01886, allocations: 119.1 kB / 335 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005291/0.01939, allocations: 351.4 kB / 335.3 MB, free: 5.633 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.01939, allocations: 4 kB / 335.3 MB, free: 5.629 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.01975, allocations: 237 kB / 335.5 MB, free: 5.398 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.02017, allocations: 79.11 kB / 335.6 MB, free: 5.324 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.02262, allocations: 1.323 MB / 336.9 MB, free: 3.941 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.02272, allocations: 163.8 kB / 337.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.749e-05/0.02281, allocations: 44.42 kB / 337.1 MB, free: 3.719 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02281, allocations: 0 / 337.1 MB, free: 3.719 MB / 298.7 MB Notification: Performance of Templates: time 0.003959/0.02677, allocations: 4.013 MB / 341.2 MB, free: 15.71 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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.397220044396818]