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.00129/0.00129, allocations: 113.3 kB / 18.4 MB, free: 4.699 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.001056/0.001056, allocations: 189.3 kB / 19.33 MB, free: 3.781 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.392/1.392, allocations: 205.1 MB / 225.2 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.001296/0.001296, allocations: 56.14 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09044/0.09174, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004046/0.09583, allocations: 2.445 MB / 378.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.0975, allocations: 0.7802 MB / 379 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.09783, allocations: 7.938 kB / 379 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.09813, allocations: 39.59 kB / 379.1 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.09851, allocations: 103.1 kB / 379.2 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.09899, allocations: 123.8 kB / 379.3 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006183/0.09962, allocations: 470.2 kB / 379.8 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.09985, allocations: 92.88 kB / 379.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003361/0.1002, allocations: 183.5 kB / 380 MB, free: 352 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.1005, allocations: 211.2 kB / 380.2 MB, free: 140 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.472e-05/0.1006, allocations: 39.98 kB / 380.3 MB, free: 100 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.543e-05/0.1007, allocations: 40 kB / 380.3 MB, free: 60 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2034/0.3041, allocations: 75.17 kB / 380.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003249/0.3045, allocations: 176.1 kB / 380.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005895/0.3051, allocations: 410.5 kB / 381 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3051, allocations: 0 / 381 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3051, allocations: 1.312 kB / 381 MB, free: 10.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.3051, allocations: 0.8438 kB / 381 MB, free: 10.16 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.001602/0.3067, allocations: 0.6838 MB / 381.6 MB, free: 9.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.3068, allocations: 15.75 kB / 381.7 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.747e-05/0.3069, allocations: 35.27 kB / 381.7 MB, free: 9.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.3073, allocations: 278.2 kB / 382 MB, free: 9.484 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.541e-05/0.3074, allocations: 83.83 kB / 382 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/0.3075, allocations: 27.31 kB / 382.1 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009664/0.3085, allocations: 381 kB / 382.4 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.3085, allocations: 3.641 kB / 382.4 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.3086, allocations: 13.66 kB / 382.5 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.3086, allocations: 5.156 kB / 382.5 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.3099, allocations: 391.8 kB / 382.9 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.3114, allocations: 0.9562 MB / 383.8 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.3126, allocations: 406.5 kB / 384.2 MB, free: 8.793 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006278/0.3132, allocations: 217.2 kB / 384.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.3133, allocations: 9.844 kB / 384.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.3133, allocations: 40.39 kB / 384.5 MB, free: 8.723 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.374e-06/0.3133, allocations: 4 kB / 384.5 MB, free: 8.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.004913/0.3182, allocations: 2.317 MB / 386.8 MB, free: 7.375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.3183, allocations: 109.5 kB / 386.9 MB, free: 7.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.3185, allocations: 203.3 kB / 387.1 MB, free: 7.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.3186, allocations: 30.77 kB / 387.1 MB, free: 7.117 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.3187, allocations: 148 kB / 387.3 MB, free: 6.996 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.3188, allocations: 136.4 kB / 387.4 MB, free: 6.891 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.3189, allocations: 74.3 kB / 387.5 MB, free: 6.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.453e-05/0.319, allocations: 338.9 kB / 387.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.3193, allocations: 109.8 kB / 387.9 MB, free: 6.488 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.3197, allocations: 172.3 kB / 388.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006318/0.3204, allocations: 291.5 kB / 388.4 MB, free: 6.254 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3204, allocations: 1.438 kB / 388.4 MB, free: 6.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008318/0.3212, allocations: 364.2 kB / 388.7 MB, free: 6.117 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.3213, allocations: 7.141 kB / 388.7 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.3213, allocations: 4.844 kB / 388.7 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.3213, allocations: 3.906 kB / 388.7 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/0.322, allocations: 151.4 kB / 388.9 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.3221, allocations: 3.875 kB / 388.9 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.3223, allocations: 30.06 kB / 388.9 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.3224, allocations: 9.875 kB / 388.9 MB, free: 6.094 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.0001572/0.3225, allocations: 146.2 kB / 389.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.691e-05/0.3226, allocations: 25.72 kB / 389.1 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.597e-05/0.3227, allocations: 37.08 kB / 389.1 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3227, allocations: 7.891 kB / 389.1 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.3227, allocations: 8.828 kB / 389.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.3228, allocations: 3.109 kB / 389.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.3251, allocations: 1.341 MB / 390.5 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3252, allocations: 5.125 kB / 390.5 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009052/0.3261, allocations: 169 kB / 390.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/0.3261, allocations: 4.469 kB / 390.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.3261, allocations: 15.16 kB / 390.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.3262, allocations: 4.531 kB / 390.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/0.3262, allocations: 10.75 kB / 390.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.3283, allocations: 0.9458 MB / 391.6 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.3285, allocations: 126.2 kB / 391.8 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/0.3285, allocations: 9.859 kB / 391.8 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.3289, allocations: 52.3 kB / 391.8 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.3291, allocations: 37.05 kB / 391.9 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.3291, allocations: 16.62 kB / 391.9 MB, free: 4.375 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.3293, allocations: 151.5 kB / 392 MB, free: 4.277 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3293, allocations: 0 / 392 MB, free: 4.277 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000506/0.3298, allocations: 84.03 kB / 392.1 MB, free: 4.266 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.0001311/0.3299, allocations: 106.8 kB / 392.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009847/0.3309, allocations: 384.6 kB / 392.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3309, allocations: 1.219 kB / 392.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006386/0.3316, allocations: 240.7 kB / 392.8 MB, free: 4.027 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007565/0.3323, allocations: 71.67 kB / 392.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005343/0.3377, allocations: 1.463 MB / 394.4 MB, free: 3.324 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.3381, allocations: 0.7685 MB / 395.1 MB, free: 2.617 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.3383, allocations: 37.06 kB / 395.2 MB, free: 2.609 MB / 318.1 MB Notification: Performance of SimCode: time 1.954e-06/0.3383, allocations: 1.344 kB / 395.2 MB, free: 2.609 MB / 318.1 MB Notification: Performance of Templates: time 0.00818/0.3465, allocations: 3.898 MB / 399.1 MB, free: 1.789 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