Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 109.5 kB / 17.73 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 188.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 55.92 kB / 328.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1231, allocations: 46.62 MB / 375.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003746/0.1269, allocations: 2.444 MB / 377.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1283, allocations: 0.7802 MB / 378.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.1285, allocations: 7.938 kB / 378.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.1287, allocations: 35.59 kB / 378.4 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.1289, allocations: 103.1 kB / 378.5 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.1292, allocations: 139.7 kB / 378.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005044/0.1297, allocations: 470.2 kB / 379.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.1299, allocations: 88.88 kB / 379.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.1301, allocations: 175.5 kB / 379.4 MB, free: 360 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000317/0.1305, allocations: 215.3 kB / 379.6 MB, free: 144 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.793e-05/0.1305, allocations: 36 kB / 379.6 MB, free: 108 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.686e-05/0.1306, allocations: 40 kB / 379.6 MB, free: 68 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2267/0.3573, allocations: 82.19 kB / 379.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003381/0.3577, allocations: 176.7 kB / 379.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006688/0.3584, allocations: 411.6 kB / 380.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3584, allocations: 2.25 kB / 380.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.3584, allocations: 1.375 kB / 380.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.3584, allocations: 0 / 380.3 MB, free: 10.2 MB / 318.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.001522/0.3599, allocations: 0.6897 MB / 381 MB, free: 9.754 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.36, allocations: 10.16 kB / 381 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.577e-05/0.3601, allocations: 35.19 kB / 381 MB, free: 9.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.3605, allocations: 275.8 kB / 381.3 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.3606, allocations: 83.3 kB / 381.4 MB, free: 9.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.88e-05/0.3607, allocations: 33.67 kB / 381.4 MB, free: 9.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009023/0.3616, allocations: 382 kB / 381.8 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.3616, allocations: 5.219 kB / 381.8 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.3616, allocations: 13.38 kB / 381.8 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.3617, allocations: 6.875 kB / 381.8 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.363, allocations: 392 kB / 382.2 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.365, allocations: 0.9513 MB / 383.1 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.3663, allocations: 404.9 kB / 383.5 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006563/0.367, allocations: 220.6 kB / 383.8 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.367, allocations: 2.656 kB / 383.8 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.3671, allocations: 37.86 kB / 383.8 MB, free: 8.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.274e-06/0.3671, allocations: 4.438 kB / 383.8 MB, free: 8.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.004831/0.3719, allocations: 2.319 MB / 386.1 MB, free: 7.398 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.372, allocations: 116.9 kB / 386.2 MB, free: 7.273 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.3723, allocations: 203.5 kB / 386.4 MB, free: 7.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.3723, allocations: 32.77 kB / 386.5 MB, free: 7.141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.178e-05/0.3724, allocations: 149.4 kB / 386.6 MB, free: 7.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.3725, allocations: 150 kB / 386.8 MB, free: 6.902 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.3726, allocations: 75.95 kB / 386.8 MB, free: 6.859 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.331e-05/0.3727, allocations: 337.5 kB / 387.2 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.3731, allocations: 109.3 kB / 387.3 MB, free: 6.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.3734, allocations: 168 kB / 387.4 MB, free: 6.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006743/0.3741, allocations: 285.9 kB / 387.7 MB, free: 6.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3741, allocations: 1.156 kB / 387.7 MB, free: 6.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008567/0.375, allocations: 369.3 kB / 388.1 MB, free: 6.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.375, allocations: 6.438 kB / 388.1 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.375, allocations: 5.188 kB / 388.1 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.3751, allocations: 5.938 kB / 388.1 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000712/0.3758, allocations: 148.8 kB / 388.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.3758, allocations: 2.531 kB / 388.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.3761, allocations: 27.75 kB / 388.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.3761, allocations: 13 kB / 388.3 MB, free: 6.113 MB / 318.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.0001397/0.3762, allocations: 144.6 kB / 388.4 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.991e-05/0.3763, allocations: 26.83 kB / 388.4 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.27e-05/0.3764, allocations: 37.08 kB / 388.5 MB, free: 5.934 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.3765, allocations: 8.609 kB / 388.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.3765, allocations: 5.969 kB / 388.5 MB, free: 5.926 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.3765, allocations: 2.719 kB / 388.5 MB, free: 5.926 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/0.3789, allocations: 1.346 MB / 389.8 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3789, allocations: 2.344 kB / 389.8 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008637/0.3798, allocations: 168.9 kB / 390 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.3798, allocations: 4.812 kB / 390 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.337e-05/0.3799, allocations: 21.48 kB / 390 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.896e-06/0.3799, allocations: 7.344 kB / 390 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.3799, allocations: 6.312 kB / 390.1 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.3821, allocations: 0.9507 MB / 391 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.3822, allocations: 131.1 kB / 391.1 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.687e-05/0.3823, allocations: 8.594 kB / 391.1 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/0.3827, allocations: 48.45 kB / 391.2 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.3829, allocations: 44.06 kB / 391.2 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.383, allocations: 15.91 kB / 391.2 MB, free: 4.383 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.3832, allocations: 150.8 kB / 391.4 MB, free: 4.285 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3832, allocations: 0 / 391.4 MB, free: 4.285 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005421/0.3837, allocations: 83.72 kB / 391.5 MB, free: 4.273 MB / 318.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.0001443/0.3839, allocations: 102.7 kB / 391.6 MB, free: 4.184 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.3851, allocations: 382.8 kB / 391.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.3851, allocations: 0 / 391.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007286/0.3859, allocations: 246.6 kB / 392.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007899/0.3867, allocations: 79.77 kB / 392.3 MB, free: 4 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0051/0.3918, allocations: 1.436 MB / 393.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.3921, allocations: 0.7677 MB / 394.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002328/0.3923, allocations: 39.12 kB / 394.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.3925, allocations: 35.12 kB / 394.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3925, allocations: 0 / 394.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of Templates: time 0.01168/0.4042, allocations: 4.334 MB / 398.9 MB, free: 1.691 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches