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.001009/0.001009, allocations: 101.7 kB / 18.4 MB, free: 4.66 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.001191/0.001191, allocations: 187 kB / 19.34 MB, free: 3.734 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.265/1.265, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001226/0.001226, allocations: 47.94 kB / 329.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06935/0.07058, allocations: 46.61 MB / 375.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003333/0.07394, allocations: 2.435 MB / 378.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.07533, allocations: 0.7802 MB / 379 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.07555, allocations: 7.938 kB / 379 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.07575, allocations: 43.58 kB / 379.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.07602, allocations: 107.1 kB / 379.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.0764, allocations: 123.8 kB / 379.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.07686, allocations: 466.2 kB / 379.8 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.07705, allocations: 92.84 kB / 379.9 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.0773, allocations: 183.5 kB / 380 MB, free: 372 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.07754, allocations: 207.3 kB / 380.2 MB, free: 164 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.499e-05/0.07761, allocations: 39.94 kB / 380.3 MB, free: 124 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.736e-05/0.07769, allocations: 40 kB / 380.3 MB, free: 84 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.143/0.2207, allocations: 85.62 kB / 380.4 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002572/0.221, allocations: 172.2 kB / 380.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000493/0.2215, allocations: 412.1 kB / 381 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2215, allocations: 0 / 381 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2215, allocations: 0 / 381 MB, free: 10.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.2215, allocations: 0 / 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.00155/0.2231, allocations: 0.6839 MB / 381.6 MB, free: 9.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2231, allocations: 12.47 kB / 381.7 MB, free: 9.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.976e-05/0.2232, allocations: 34.44 kB / 381.7 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.2236, allocations: 276.6 kB / 382 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-05/0.2237, allocations: 85.95 kB / 382 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.726e-05/0.2238, allocations: 26.94 kB / 382.1 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/0.2247, allocations: 380.7 kB / 382.4 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.2247, allocations: 5.625 kB / 382.5 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.2248, allocations: 10.77 kB / 382.5 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2248, allocations: 11.94 kB / 382.5 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.226, allocations: 389.1 kB / 382.9 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.2273, allocations: 0.9645 MB / 383.8 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.2284, allocations: 406.5 kB / 384.2 MB, free: 8.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006036/0.229, allocations: 215.3 kB / 384.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.2291, allocations: 3.375 kB / 384.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.2291, allocations: 38.48 kB / 384.5 MB, free: 8.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/0.2291, allocations: 0 / 384.5 MB, free: 8.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.004485/0.2336, allocations: 2.322 MB / 386.8 MB, free: 7.371 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.2336, allocations: 107.2 kB / 386.9 MB, free: 7.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.2338, allocations: 206.2 kB / 387.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.2338, allocations: 31.05 kB / 387.1 MB, free: 7.113 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.2339, allocations: 147.4 kB / 387.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.768e-05/0.234, allocations: 137.2 kB / 387.4 MB, free: 6.922 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.2341, allocations: 76.2 kB / 387.5 MB, free: 6.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.253e-05/0.2342, allocations: 341.4 kB / 387.8 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.2345, allocations: 110.2 kB / 387.9 MB, free: 6.516 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.2349, allocations: 171.5 kB / 388.1 MB, free: 6.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006233/0.2355, allocations: 291.8 kB / 388.4 MB, free: 6.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2355, allocations: 1.438 kB / 388.4 MB, free: 6.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007905/0.2363, allocations: 371.1 kB / 388.7 MB, free: 6.141 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2363, allocations: 6.156 kB / 388.7 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2363, allocations: 4.812 kB / 388.7 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2364, allocations: 7.062 kB / 388.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.2371, allocations: 146.6 kB / 388.9 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2371, allocations: 4.703 kB / 388.9 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.2373, allocations: 25.91 kB / 388.9 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.2374, allocations: 13.72 kB / 388.9 MB, free: 6.117 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.0001103/0.2375, allocations: 146.3 kB / 389.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.599e-05/0.2376, allocations: 26.77 kB / 389.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.258e-05/0.2376, allocations: 36.95 kB / 389.1 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.2377, allocations: 4.703 kB / 389.1 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2377, allocations: 1.062 kB / 389.1 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.2378, allocations: 130 kB / 389.3 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.2378, allocations: 11.33 kB / 389.3 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007149/0.2386, allocations: 93.03 kB / 389.4 MB, free: 5.801 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.2387, allocations: 35.02 kB / 389.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001738/0.2404, allocations: 0.7525 MB / 390.2 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001933/0.2424, allocations: 0.9915 MB / 391.2 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006084/0.243, allocations: 218.9 kB / 391.4 MB, free: 4.812 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.2431, allocations: 154.4 kB / 391.5 MB, free: 4.711 MB / 318.1 MB Notification: Performance of Backend: time 4.6e-07/0.2431, allocations: 1.406 kB / 391.5 MB, free: 4.711 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008688/0.244, allocations: 259.1 kB / 391.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of SimCode: time 0.001258/0.2452, allocations: 1.262 MB / 393 MB, free: 3.598 MB / 318.1 MB Notification: Performance of Templates: time 0.009113/0.2544, allocations: 4.662 MB / 397.7 MB, free: 2.832 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