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.001759/0.001759, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.00161/0.00161, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 14.72 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 1.451/1.451, allocations: 225.7 MB / 253.3 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001644/0.001644, allocations: 55.84 kB / 371.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3453, allocations: 52.17 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004657/0.35, allocations: 2.28 MB / 426.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.3517, allocations: 0.7095 MB / 426.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.3519, allocations: 11.94 kB / 426.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.352, allocations: 39.59 kB / 426.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.3523, allocations: 111.1 kB / 427 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.3527, allocations: 134.1 kB / 427.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006322/0.3533, allocations: 470.2 kB / 427.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.3536, allocations: 64.06 kB / 427.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.3538, allocations: 187.5 kB / 427.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/0.3541, allocations: 187.2 kB / 428 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.467e-05/0.3542, allocations: 40 kB / 428 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-05/0.3543, allocations: 36 kB / 428 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.3544, allocations: 91.72 kB / 428.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.3546, allocations: 147.4 kB / 428.3 MB, free: 9.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.3551, allocations: 410.2 kB / 428.7 MB, free: 9.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3551, allocations: 0 / 428.7 MB, free: 9.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3551, allocations: 4 kB / 428.7 MB, free: 9.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.3551, allocations: 0 / 428.7 MB, free: 9.586 MB / 334.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.002299/0.3574, allocations: 0.6213 MB / 429.3 MB, free: 8.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.466e-05/0.3575, allocations: 12.03 kB / 429.3 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.3576, allocations: 32.75 kB / 429.3 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007673/0.3584, allocations: 210.9 kB / 429.6 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002638/0.3586, allocations: 147.5 kB / 429.7 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.333e-05/0.3587, allocations: 28 kB / 429.7 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.3601, allocations: 370.4 kB / 430.1 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.3602, allocations: 7.891 kB / 430.1 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/0.3602, allocations: 12 kB / 430.1 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.3602, allocations: 8 kB / 430.1 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.3617, allocations: 395.5 kB / 430.5 MB, free: 7.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.364, allocations: 0.7982 MB / 431.3 MB, free: 6.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/0.3662, allocations: 395.5 kB / 431.7 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.3674, allocations: 214.4 kB / 431.9 MB, free: 6.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.3674, allocations: 4 kB / 431.9 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.708e-05/0.3675, allocations: 35 kB / 431.9 MB, free: 6.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 4.167e-06/0.3675, allocations: 11.94 kB / 431.9 MB, free: 6.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.007993/0.3755, allocations: 1.873 MB / 433.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.3756, allocations: 110.8 kB / 433.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003897/0.376, allocations: 185.3 kB / 434.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.3761, allocations: 29.7 kB / 434.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.3762, allocations: 160.7 kB / 434.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.3765, allocations: 146.7 kB / 434.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/0.3767, allocations: 74.11 kB / 434.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.3769, allocations: 334.8 kB / 434.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.3774, allocations: 109.8 kB / 434.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/0.3779, allocations: 173.4 kB / 435.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.379, allocations: 284.2 kB / 435.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.379, allocations: 4 kB / 435.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00131/0.3803, allocations: 372.6 kB / 435.8 MB, free: 2.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.3803, allocations: 16.03 kB / 435.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3803, allocations: 0 / 435.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-05/0.3803, allocations: 4 kB / 435.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/0.3811, allocations: 147.8 kB / 435.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.3811, allocations: 7.938 kB / 435.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.3813, allocations: 23.92 kB / 436 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.3813, allocations: 15.98 kB / 436 MB, free: 1.875 MB / 334.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.0001867/0.3815, allocations: 153.8 kB / 436.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.462e-05/0.3816, allocations: 27.8 kB / 436.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.152e-05/0.3817, allocations: 29.47 kB / 436.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.3817, allocations: 4 kB / 436.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.3817, allocations: 3.984 kB / 436.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3817, allocations: 4 kB / 436.2 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.3841, allocations: 1.19 MB / 437.4 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.3841, allocations: 4 kB / 437.4 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008938/0.385, allocations: 167.7 kB / 437.5 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.385, allocations: 11.94 kB / 437.6 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.3851, allocations: 19.98 kB / 437.6 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.3851, allocations: 4 kB / 437.6 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.3851, allocations: 3.938 kB / 437.6 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.3872, allocations: 0.9519 MB / 438.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.3874, allocations: 51.88 kB / 438.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.3874, allocations: 8 kB / 438.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.3878, allocations: 39.95 kB / 438.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.388, allocations: 47.86 kB / 438.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.388, allocations: 12 kB / 438.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.3881, allocations: 142.9 kB / 438.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3881, allocations: 4 kB / 438.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004882/0.3886, allocations: 84 kB / 438.9 MB, free: 14.79 MB / 350.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.0001389/0.3887, allocations: 105.7 kB / 439 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.3898, allocations: 360.8 kB / 439.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3898, allocations: 4 kB / 439.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007074/0.3905, allocations: 240.2 kB / 439.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007086/0.3912, allocations: 80.98 kB / 439.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005265/0.3965, allocations: 1.462 MB / 441.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.3966, allocations: 159.9 kB / 441.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.3968, allocations: 39.42 kB / 441.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3968, allocations: 0 / 441.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Templates: time 0.006998/0.4038, allocations: 4 MB / 445.3 MB, free: 8.301 MB / 350.1 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/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_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: 7.59589087497443]