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.001262/0.001262, allocations: 110.7 kB / 18.35 MB, free: 4.84 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.001065/0.001065, allocations: 184.2 kB / 19.29 MB, free: 3.918 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.454/1.454, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001292/0.001292, allocations: 55.92 kB / 329.1 MB, free: 3.352 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09783/0.09913, allocations: 46.61 MB / 375.7 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003608/0.1028, allocations: 2.449 MB / 378.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1042, allocations: 0.7841 MB / 379 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.1043, allocations: 4 kB / 379 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.1045, allocations: 47.52 kB / 379 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.1048, allocations: 95.11 kB / 379.1 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.1051, allocations: 131.8 kB / 379.2 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004021/0.1055, allocations: 466.2 kB / 379.7 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.1057, allocations: 92.86 kB / 379.8 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.1059, allocations: 183.4 kB / 380 MB, free: 384 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.1062, allocations: 207.3 kB / 380.2 MB, free: 176 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.694e-05/0.1062, allocations: 40 kB / 380.2 MB, free: 136 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.554e-05/0.1063, allocations: 36 kB / 380.2 MB, free: 100 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.811e-05/0.1064, allocations: 83.75 kB / 380.3 MB, free: 16 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2181/0.3245, allocations: 176 kB / 380.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005741/0.3251, allocations: 411.4 kB / 380.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3252, allocations: 0 / 380.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3252, allocations: 1.375 kB / 380.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3252, allocations: 1 kB / 380.9 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.001543/0.3267, allocations: 0.678 MB / 381.6 MB, free: 9.762 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.3268, allocations: 8.375 kB / 381.6 MB, free: 9.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.639e-05/0.3269, allocations: 36.34 kB / 381.6 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.3273, allocations: 286.1 kB / 381.9 MB, free: 9.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.3274, allocations: 87.45 kB / 382 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.1e-05/0.3275, allocations: 24.11 kB / 382 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009099/0.3284, allocations: 379.4 kB / 382.4 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.3284, allocations: 5.172 kB / 382.4 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.3285, allocations: 8.688 kB / 382.4 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.3285, allocations: 6.875 kB / 382.4 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.3298, allocations: 392.6 kB / 382.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.3313, allocations: 0.9556 MB / 383.7 MB, free: 8.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.3324, allocations: 408.3 kB / 384.1 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/0.333, allocations: 220.6 kB / 384.4 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.3331, allocations: 4.094 kB / 384.4 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.3331, allocations: 37.5 kB / 384.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/0.3331, allocations: 3.938 kB / 384.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.004655/0.3377, allocations: 2.312 MB / 386.7 MB, free: 7.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.3378, allocations: 116.1 kB / 386.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.338, allocations: 203.9 kB / 387 MB, free: 7.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.3381, allocations: 31.83 kB / 387.1 MB, free: 7.148 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.95e-05/0.3382, allocations: 149.6 kB / 387.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.3383, allocations: 136.6 kB / 387.3 MB, free: 6.953 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.3384, allocations: 73.06 kB / 387.4 MB, free: 6.914 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.3385, allocations: 336.6 kB / 387.7 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.3388, allocations: 109.9 kB / 387.8 MB, free: 6.555 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.3392, allocations: 168.5 kB / 388 MB, free: 6.465 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006436/0.3399, allocations: 293.4 kB / 388.3 MB, free: 6.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3399, allocations: 1.844 kB / 388.3 MB, free: 6.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008267/0.3407, allocations: 368.2 kB / 388.7 MB, free: 6.184 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.3407, allocations: 5.25 kB / 388.7 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.3408, allocations: 7.703 kB / 388.7 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.3408, allocations: 3.125 kB / 388.7 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/0.3415, allocations: 149.1 kB / 388.8 MB, free: 6.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.3415, allocations: 3.781 kB / 388.8 MB, free: 6.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.3418, allocations: 22.41 kB / 388.8 MB, free: 6.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.3418, allocations: 18.58 kB / 388.9 MB, free: 6.16 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.0001386/0.342, allocations: 144.6 kB / 389 MB, free: 6.027 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.416e-05/0.3421, allocations: 26.44 kB / 389 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.17e-05/0.3421, allocations: 41.16 kB / 389.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3422, allocations: 4.375 kB / 389.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.3422, allocations: 3.938 kB / 389.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3422, allocations: 3.484 kB / 389.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.3445, allocations: 1.346 MB / 390.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3446, allocations: 2.25 kB / 390.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008767/0.3454, allocations: 171.1 kB / 390.6 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.3455, allocations: 6.844 kB / 390.6 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.3455, allocations: 16.22 kB / 390.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.3455, allocations: 8.531 kB / 390.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.3455, allocations: 8.969 kB / 390.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.3475, allocations: 0.9416 MB / 391.6 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.3477, allocations: 127 kB / 391.7 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.3477, allocations: 12.56 kB / 391.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/0.3481, allocations: 48.52 kB / 391.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.3483, allocations: 39.3 kB / 391.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.3483, allocations: 16.92 kB / 391.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.3485, allocations: 149.2 kB / 392 MB, free: 4.344 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3485, allocations: 5.188 kB / 392 MB, free: 4.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004948/0.349, allocations: 82.88 kB / 392 MB, free: 4.328 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.0001222/0.3491, allocations: 106.4 kB / 392.2 MB, free: 4.234 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.3501, allocations: 372.3 kB / 392.5 MB, free: 4.148 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3501, allocations: 1.625 kB / 392.5 MB, free: 4.148 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006383/0.3508, allocations: 252.9 kB / 392.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006885/0.3515, allocations: 68.44 kB / 392.8 MB, free: 4.062 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005028/0.3565, allocations: 1.46 MB / 394.3 MB, free: 3.383 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.3568, allocations: 0.7716 MB / 395.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.357, allocations: 36.69 kB / 395.1 MB, free: 2.668 MB / 318.1 MB Notification: Performance of SimCode: time 1.072e-06/0.357, allocations: 0 / 395.1 MB, free: 2.668 MB / 318.1 MB Notification: Performance of Templates: time 0.007609/0.3646, allocations: 3.871 MB / 399 MB, free: 1.855 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/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