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) 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 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.0.0_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.001271/0.001272, allocations: 113.2 kB / 17.75 MB, free: 5.352 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.001253/0.001253, allocations: 186.5 kB / 18.68 MB, free: 4.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 47.94 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2133, allocations: 49.43 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003193/0.2165, allocations: 2.432 MB / 403.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.2177, allocations: 0.7523 MB / 404.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.2178, allocations: 4 kB / 404.6 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.218, allocations: 43.52 kB / 404.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.2182, allocations: 103.1 kB / 404.7 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.2186, allocations: 137.8 kB / 404.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003922/0.219, allocations: 458.2 kB / 405.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.2191, allocations: 84.89 kB / 405.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.2193, allocations: 191.4 kB / 405.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.2196, allocations: 207.3 kB / 405.8 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.76e-05/0.2196, allocations: 36 kB / 405.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.97e-05/0.2197, allocations: 40 kB / 405.9 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.67e-05/0.2198, allocations: 83.78 kB / 405.9 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.2199, allocations: 183.2 kB / 406.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.2203, allocations: 415.8 kB / 406.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2203, allocations: 3.984 kB / 406.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2203, allocations: 0 / 406.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.2204, allocations: 0 / 406.5 MB, free: 3.707 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.001582/0.2219, allocations: 0.6706 MB / 407.2 MB, free: 2.988 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.222, allocations: 12.03 kB / 407.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.166e-05/0.2221, allocations: 36.56 kB / 407.2 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.2224, allocations: 279.5 kB / 407.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.622e-05/0.2225, allocations: 84.27 kB / 407.6 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.2226, allocations: 31.94 kB / 407.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009158/0.2235, allocations: 379.2 kB / 408 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.2235, allocations: 7.906 kB / 408 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.2236, allocations: 8 kB / 408 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.2236, allocations: 8 kB / 408 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.2248, allocations: 391.5 kB / 408.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.2261, allocations: 0.9582 MB / 409.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.2272, allocations: 403.5 kB / 409.8 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006295/0.2279, allocations: 222.4 kB / 410 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.2279, allocations: 7.969 kB / 410 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.2279, allocations: 38.56 kB / 410 MB, free: 16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.914e-06/0.2279, allocations: 0 / 410 MB, free: 16 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.004846/0.2328, allocations: 2.324 MB / 412.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.2329, allocations: 106.8 kB / 412.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.2331, allocations: 203.2 kB / 412.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.2331, allocations: 33.8 kB / 412.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.2332, allocations: 152.5 kB / 412.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.2333, allocations: 142 kB / 413 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.2334, allocations: 70.03 kB / 413 MB, free: 12.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2335, allocations: 342.8 kB / 413.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.2339, allocations: 108.8 kB / 413.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.2342, allocations: 165.5 kB / 413.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006638/0.2349, allocations: 284.1 kB / 413.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2349, allocations: 3.938 kB / 413.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008287/0.2358, allocations: 367.7 kB / 414.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2358, allocations: 11.94 kB / 414.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2358, allocations: 0 / 414.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2358, allocations: 4 kB / 414.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/0.2366, allocations: 147.9 kB / 414.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.2366, allocations: 7.984 kB / 414.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.2368, allocations: 23.98 kB / 414.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.2368, allocations: 16 kB / 414.5 MB, free: 11.16 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.0001364/0.237, allocations: 149.7 kB / 414.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.2371, allocations: 27.66 kB / 414.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.2372, allocations: 37.45 kB / 414.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.2372, allocations: 11.98 kB / 414.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2372, allocations: 0 / 414.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.2373, allocations: 140.6 kB / 414.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-05/0.2374, allocations: 4 kB / 414.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007465/0.2381, allocations: 95.88 kB / 414.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-05/0.2382, allocations: 35.95 kB / 415 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001822/0.2401, allocations: 0.7412 MB / 415.7 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00207/0.2422, allocations: 0.9935 MB / 416.7 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006425/0.2428, allocations: 219.6 kB / 416.9 MB, free: 8.672 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.2429, allocations: 152.6 kB / 417.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of Backend: time 5.01e-07/0.2429, allocations: 0 / 417.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008947/0.2438, allocations: 270.1 kB / 417.3 MB, free: 8.25 MB / 334.1 MB Notification: Performance of SimCode: time 0.001422/0.2453, allocations: 1.257 MB / 418.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of Templates: time 0.008033/0.2533, allocations: 4.498 MB / 423.1 MB, free: 2.48 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (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) 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) Reference file matches