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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 83.69 kB / 22 MB, free: 5.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00228/0.00228, allocations: 161.8 kB / 25.25 MB, free: 3.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 158.6 MB / 187 MB, free: 6.484 MB / 174.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 51.92 kB / 299.4 MB, free: 6.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2166, allocations: 49.15 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003651/0.2202, allocations: 2.271 MB / 350.8 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.2216, allocations: 0.753 MB / 351.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.2217, allocations: 7.938 kB / 351.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.2218, allocations: 43.58 kB / 351.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.2221, allocations: 111.1 kB / 351.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.2224, allocations: 131.8 kB / 351.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004856/0.2229, allocations: 470.2 kB / 352.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.2231, allocations: 64.86 kB / 352.3 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.2233, allocations: 179.5 kB / 352.5 MB, free: 11.47 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.2236, allocations: 195.2 kB / 352.7 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.315e-05/0.2236, allocations: 40 kB / 352.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.967e-05/0.2237, allocations: 36 kB / 352.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.457e-05/0.2238, allocations: 91.72 kB / 352.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.224, allocations: 143.4 kB / 353 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004694/0.2244, allocations: 420.8 kB / 353.4 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.2244, allocations: 4 kB / 353.4 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2244, allocations: 4 kB / 353.4 MB, free: 10.56 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.2244, allocations: 0 / 353.4 MB, free: 10.56 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.001583/0.226, allocations: 0.6066 MB / 354 MB, free: 9.926 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2261, allocations: 15.98 kB / 354.1 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.462e-05/0.2261, allocations: 36.69 kB / 354.1 MB, free: 9.875 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.2265, allocations: 221.7 kB / 354.3 MB, free: 9.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.2267, allocations: 143.6 kB / 354.4 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.087e-05/0.2267, allocations: 27.95 kB / 354.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009467/0.2277, allocations: 374.4 kB / 354.8 MB, free: 9.059 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.2277, allocations: 0 / 354.8 MB, free: 9.059 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.2277, allocations: 12 kB / 354.9 MB, free: 9.047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.2278, allocations: 8 kB / 354.9 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.2291, allocations: 395.5 kB / 355.2 MB, free: 8.652 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.2303, allocations: 0.795 MB / 356 MB, free: 7.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.2314, allocations: 395.5 kB / 356.4 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006444/0.2321, allocations: 214.4 kB / 356.6 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.2321, allocations: 4 kB / 356.6 MB, free: 7.184 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.2321, allocations: 38.5 kB / 356.7 MB, free: 7.137 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.2321, allocations: 0 / 356.7 MB, free: 7.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.004906/0.237, allocations: 1.87 MB / 358.5 MB, free: 5.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/0.2371, allocations: 114.8 kB / 358.7 MB, free: 4.977 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.2373, allocations: 182.8 kB / 358.8 MB, free: 4.785 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.2373, allocations: 29.7 kB / 358.9 MB, free: 4.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.2374, allocations: 152.8 kB / 359 MB, free: 4.598 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.2376, allocations: 150.7 kB / 359.2 MB, free: 4.449 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.2377, allocations: 74.17 kB / 359.2 MB, free: 4.371 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2378, allocations: 338.8 kB / 359.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.2382, allocations: 104.9 kB / 359.7 MB, free: 3.926 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.2385, allocations: 174.1 kB / 359.8 MB, free: 3.738 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006892/0.2392, allocations: 292.9 kB / 360.1 MB, free: 3.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2392, allocations: 0 / 360.1 MB, free: 3.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008505/0.2401, allocations: 365.4 kB / 360.5 MB, free: 3.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.2401, allocations: 11.94 kB / 360.5 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2401, allocations: 0 / 360.5 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.2401, allocations: 8.094 kB / 360.5 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007586/0.2409, allocations: 151.8 kB / 360.6 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.2409, allocations: 4 kB / 360.7 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.2411, allocations: 19.98 kB / 360.7 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.2411, allocations: 15.98 kB / 360.7 MB, free: 2.863 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.0001439/0.2413, allocations: 145.7 kB / 360.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.2414, allocations: 31.8 kB / 360.9 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.476e-05/0.2414, allocations: 37.45 kB / 360.9 MB, free: 2.641 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2414, allocations: 4 kB / 360.9 MB, free: 2.637 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2415, allocations: 0 / 360.9 MB, free: 2.637 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2415, allocations: 4 kB / 360.9 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/0.2438, allocations: 1.194 MB / 362.1 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.2438, allocations: 7.938 kB / 362.1 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009001/0.2447, allocations: 172 kB / 362.3 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.2447, allocations: 4 kB / 362.3 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.2447, allocations: 23.98 kB / 362.3 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2447, allocations: 0 / 362.3 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.2447, allocations: 7.938 kB / 362.3 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.2468, allocations: 0.9502 MB / 363.3 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.247, allocations: 47.88 kB / 363.3 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.247, allocations: 12 kB / 363.3 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004206/0.2474, allocations: 47.88 kB / 363.4 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-05/0.2475, allocations: 47.81 kB / 363.4 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.2476, allocations: 12 kB / 363.4 MB, free: 0 / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.2477, allocations: 139.3 kB / 363.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2477, allocations: 0 / 363.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004555/0.2481, allocations: 84 kB / 363.6 MB, free: 15.78 MB / 334.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.0001245/0.2483, allocations: 107.2 kB / 363.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.2493, allocations: 360.2 kB / 364.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2493, allocations: 0 / 364.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006987/0.25, allocations: 240.9 kB / 364.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006881/0.2507, allocations: 84.36 kB / 364.4 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005147/0.2558, allocations: 1.421 MB / 365.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.256, allocations: 156 kB / 366 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.2562, allocations: 46.94 kB / 366 MB, free: 13.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.2563, allocations: 36.44 kB / 366.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2563, allocations: 0 / 366.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of Templates: time 0.008961/0.2653, allocations: 4.458 MB / 370.5 MB, free: 8.797 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.316714785993099]