Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001055/0.001055, allocations: 114.3 kB / 18.45 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 214.8 kB / 19.41 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 55.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2119, allocations: 50.55 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003472/0.2154, allocations: 2.452 MB / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.2169, allocations: 0.783 MB / 413.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.217, allocations: 4 kB / 413.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.2172, allocations: 39.53 kB / 413.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.2174, allocations: 107.1 kB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.2177, allocations: 131.4 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003904/0.2181, allocations: 466.2 kB / 413.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.2183, allocations: 80.88 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.2185, allocations: 195.4 kB / 414.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.2187, allocations: 207.3 kB / 414.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.2188, allocations: 36 kB / 414.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.617e-05/0.2189, allocations: 36 kB / 414.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.971e-05/0.219, allocations: 87.72 kB / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.2191, allocations: 179.3 kB / 414.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.2195, allocations: 414.2 kB / 415.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2195, allocations: 4 kB / 415.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2195, allocations: 0 / 415.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.2196, allocations: 0 / 415.1 MB, free: 12.39 MB / 334.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.001435/0.221, allocations: 0.6859 MB / 415.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.221, allocations: 8.031 kB / 415.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.658e-05/0.2211, allocations: 40.75 kB / 415.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.2215, allocations: 272.7 kB / 416.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.2216, allocations: 88.27 kB / 416.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-05/0.2217, allocations: 24 kB / 416.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008626/0.2225, allocations: 379.2 kB / 416.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.2226, allocations: 3.938 kB / 416.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.2226, allocations: 12 kB / 416.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.2226, allocations: 8 kB / 416.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.2238, allocations: 387.6 kB / 417 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.225, allocations: 0.9818 MB / 418 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.2261, allocations: 399.5 kB / 418.3 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005998/0.2267, allocations: 218.4 kB / 418.6 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.2267, allocations: 15.92 kB / 418.6 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.2267, allocations: 34.56 kB / 418.6 MB, free: 8.656 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.2267, allocations: 0 / 418.6 MB, free: 8.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.004598/0.2313, allocations: 2.325 MB / 420.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.2314, allocations: 114.8 kB / 421 MB, free: 5.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.2316, allocations: 199.2 kB / 421.2 MB, free: 5.727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.2316, allocations: 33.7 kB / 421.3 MB, free: 5.688 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.151e-05/0.2317, allocations: 144.8 kB / 421.4 MB, free: 5.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.863e-05/0.2318, allocations: 142.8 kB / 421.6 MB, free: 5.402 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.232, allocations: 78.06 kB / 421.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2321, allocations: 343.8 kB / 422 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/0.2324, allocations: 104.8 kB / 422.1 MB, free: 4.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.2327, allocations: 169.4 kB / 422.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006431/0.2334, allocations: 291 kB / 422.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2334, allocations: 0 / 422.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007959/0.2342, allocations: 368.5 kB / 422.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2342, allocations: 11.94 kB / 422.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2342, allocations: 0 / 422.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2342, allocations: 4 kB / 422.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007027/0.235, allocations: 151.8 kB / 423 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.235, allocations: 11.88 kB / 423.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.2352, allocations: 27.98 kB / 423.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.2352, allocations: 8 kB / 423.1 MB, free: 3.82 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.0001292/0.2354, allocations: 149.8 kB / 423.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.654e-05/0.2355, allocations: 35.75 kB / 423.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.375e-05/0.2355, allocations: 25.53 kB / 423.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.2355, allocations: 7.984 kB / 423.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2356, allocations: 4 kB / 423.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.2357, allocations: 128.9 kB / 423.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.2357, allocations: 11.98 kB / 423.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000691/0.2364, allocations: 91.89 kB / 423.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.2365, allocations: 43.88 kB / 423.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001716/0.2383, allocations: 0.7372 MB / 424.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00192/0.2402, allocations: 0.9884 MB / 425.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005905/0.2408, allocations: 227.6 kB / 425.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.2409, allocations: 152.6 kB / 425.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of Backend: time 2.5e-07/0.2409, allocations: 0 / 425.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000855/0.2418, allocations: 268.3 kB / 425.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of SimCode: time 0.001369/0.2432, allocations: 1.265 MB / 427.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of Templates: time 0.007682/0.2509, allocations: 4.487 MB / 431.7 MB, free: 11.15 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches